|
MG32F10x Standard Peripherals Firmware Library
|
Functions that access the ITM debug interface. More...
Macros | |
| #define | ITM_RXBUFFER_EMPTY ((int32_t)0x5AA55AA5U) |
Functions | |
| __STATIC_INLINE uint32_t | ITM_SendChar (uint32_t ch) |
| ITM Send Character. More... | |
| __STATIC_INLINE int32_t | ITM_ReceiveChar (void) |
| ITM Receive Character. More... | |
| __STATIC_INLINE int32_t | ITM_CheckChar (void) |
| ITM Check Character. More... | |
Variables | |
| volatile int32_t | ITM_RxBuffer |
Functions that access the ITM debug interface.
| #define ITM_RXBUFFER_EMPTY ((int32_t)0x5AA55AA5U) |
Value identifying ITM_RxBuffer is ready for next character.
| __STATIC_INLINE int32_t ITM_CheckChar | ( | void | ) |
ITM Check Character.
Checks whether a character is pending for reading in the variable ITM_RxBuffer.
| __STATIC_INLINE int32_t ITM_ReceiveChar | ( | void | ) |
ITM Receive Character.
Inputs a character via the external variable ITM_RxBuffer.
| __STATIC_INLINE uint32_t ITM_SendChar | ( | uint32_t | ch | ) |
ITM Send Character.
Transmits a character via the ITM channel 0, and
| [in] | ch | Character to transmit. |
| volatile int32_t ITM_RxBuffer |
External variable to receive characters.