Loading [MathJax]/extensions/tex2jax.js
CTRE Phoenix 6 C++ 23.10.0-alpha-8
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
platform_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 "stdint.h"
11#include "stdbool.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17CTREXPORT void c_ctre_phoenix6_platform_canbus_sendmessage(uint32_t messageId, uint8_t const *data, uint8_t dataSize, char const *canbus, bool printErr);
18CTREXPORT int32_t c_ctre_phoenix6_platform_canbus_receivemessage(uint32_t messageId, uint8_t *data, uint8_t * dataSize, char const *canbus, bool printErr);
22CTREXPORT int32_t c_ctre_phoenix6_platform_sim_create(int deviceType, int id);
23
24#ifdef __cplusplus
25}
26#endif
#define CTREXPORT
Definition: export.h:14
CTREXPORT void c_ctre_phoenix6_platform_canbus_sendmessage(uint32_t messageId, uint8_t const *data, uint8_t dataSize, char const *canbus, bool printErr)
CTREXPORT int32_t c_ctre_phoenix6_platform_canbus_receivemessage(uint32_t messageId, uint8_t *data, uint8_t *dataSize, char const *canbus, bool printErr)
CTREXPORT int32_t c_ctre_phoenix6_platform_start_logger(void)
CTREXPORT int32_t c_ctre_phoenix6_platform_set_logger_path(char const *path)
CTREXPORT int32_t c_ctre_phoenix6_platform_stop_logger(void)
CTREXPORT int32_t c_ctre_phoenix6_platform_sim_create(int deviceType, int id)