|
HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
|
Extensions for USB VCP. More...

Macros | |
| #define | VCP_DEFAULT_SPEED 38400 |
Functions | |
| FctERR | CDC_Control_Set_Line_State_Callback (const bool open) |
| Callback for CDC port connection/disconnection. | |
| FctERR | CDC_Control_Set_Line_State (const uint8_t *const pbuf) |
| CDC Set Line State message handler. | |
| void | CDC_Control_Set_Line_Coding (const uint8_t *const pbuf) |
| CDC Set Line Coding message handler. | |
| void | CDC_Control_Get_Line_Coding (uint8_t *const pbuf) |
| CDC Get Line Coding message handler. | |
| bool | get_CDC_Line_State (void) |
| CDC Get current port state. | |
Extensions for USB VCP.
USE_USB_CDC_IF_EX symbol at project level to use CDC_IF_ex functionalities | #define VCP_DEFAULT_SPEED 38400 |
| void CDC_Control_Get_Line_Coding | ( | uint8_t *const | pbuf | ) |
CDC Get Line Coding message handler.
CDC_Control_FS function, CDC_GET_LINE_CODING case | [in,out] | pbuf | - Pointer to message data |
| void CDC_Control_Set_Line_Coding | ( | const uint8_t *const | pbuf | ) |
CDC Set Line Coding message handler.
CDC_Control_FS function, CDC_SET_LINE_CODING case | [in] | pbuf | - Pointer to message data |
| FctERR CDC_Control_Set_Line_State | ( | const uint8_t *const | pbuf | ) |
CDC Set Line State message handler.
CDC_Control_FS function, CDC_SET_CONTROL_LINE_STATE case | [in] | pbuf | - Pointer to message data |

| FctERR CDC_Control_Set_Line_State_Callback | ( | const bool | open | ) |
Callback for CDC port connection/disconnection.
get_CDC_Line_State can be used instead (if not willing to use callback) to check port current status | [in] | open | - port state |

| bool get_CDC_Line_State | ( | void | ) |
CDC Get current port state.