ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems)
0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
Loading...
Searching...
No Matches
cdc.h
Go to the documentation of this file.
1
29
#ifndef BSP_CDC_H
30
#define BSP_CDC_H
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
#include <stdint.h>
37
#include <stdbool.h>
38
47
#define CDC_WRITE_MAX_RETRIES 500u
48
67
bool
CDC_Write
(
const
uint8_t *data, uint16_t len);
68
77
bool
CDC_WriteString
(
const
char
*s);
78
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif
/* BSP_CDC_H */
CDC_WriteString
bool CDC_WriteString(const char *s)
Convenience wrapper that pushes a NUL-terminated C string.
Definition
cdc.c:112
CDC_Write
bool CDC_Write(const uint8_t *data, uint16_t len)
Push len bytes to the USB CDC IN endpoint.
Definition
cdc.c:33
Core
Inc
bsp
cdc.h
Generated on Fri Apr 17 2026 13:48:31 for ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) by
1.9.8