CTRE Phoenix 6 C++ 24.3.0
unmanaged_c_style.h
Go to the documentation of this file.
1/*
2 * Copyright (C) Cross The Road Electronics.  All rights reserved.
3 * License information can be found in CTRE_LICENSE.txt
4 * For support and suggestions contact support@ctr-electronics.com or file
5 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
6 */
7#pragma once
8
10#include "stdbool.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15/**
16 * \brief Feed the robot enable.
17 * This function does nothing on a roborio during FRC use.
18 *
19 * \param timeoutMs Timeout before disabling
20 */
22/**
23 * \returns true if enabled
24 */
26/**
27 * \brief Sets whether to enable transmitting
28 * This function does nothing on a roborio during FRC use.
29 *
30 * \param en True enables transmitting
31 */
33/**
34 * \returns true if transmitting is enabled
35 */
37/**
38 * \returns Phoenix version
39 */
43
44#ifdef __cplusplus
45}
46#endif
#define CTREXPORT
Definition: export.h:14
CTREXPORT bool c_ctre_phoenix6_unmanaged_get_enable_state(void)
CTREXPORT void c_ctre_phoenix6_unmanaged_set_transmit_enable(bool en)
Sets whether to enable transmitting This function does nothing on a roborio during FRC use.
CTREXPORT bool c_ctre_phoenix6_unmanaged_get_transmit_enable(void)
CTREXPORT void c_ctre_phoenix6_unmanaged_feed_enable(int timeoutMs)
Feed the robot enable.
CTREXPORT int c_ctre_phoenix6_unmanaged_get_phoenix_version(void)
CTREXPORT int c_ctre_phoenix6_unmanaged_get_api_compliancy(void)
CTREXPORT void c_ctre_phoenix6_unmanaged_load_phoenix(void)