Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
ITM Functions
[Functions and Instructions Reference]
Functions that access the ITM debug interface. More...
Functions | |
__STATIC_INLINE uint32_t | ITM_SendChar (uint32_t ch) |
ITM Send Character. | |
__STATIC_INLINE int32_t | ITM_ReceiveChar (void) |
ITM Receive Character. | |
__STATIC_INLINE int32_t | ITM_CheckChar (void) |
ITM Check Character. | |
Variables | |
volatile int32_t | ITM_RxBuffer |
Detailed Description
Functions that access the ITM debug interface.
Function Documentation
__STATIC_INLINE int32_t ITM_CheckChar | ( | void | ) |
ITM Check Character.
The function checks whether a character is pending for reading in the variable ITM_RxBuffer.
- Returns:
- 0 No character available.
- 1 Character available.
Definition at line 1755 of file core_cm4.h.
__STATIC_INLINE int32_t ITM_ReceiveChar | ( | void | ) |
ITM Receive Character.
The function inputs a character via the external variable ITM_RxBuffer.
- Returns:
- Received character.
- -1 No character pending.
Definition at line 1736 of file core_cm4.h.
__STATIC_INLINE uint32_t ITM_SendChar | ( | uint32_t | ch ) |
ITM Send Character.
The function transmits a character via the ITM channel 0, and
- Just returns when no debugger is connected that has booked the output.
- Is blocking when a debugger is connected, but the previous character sent has not been transmitted.
- Parameters:
-
[in] ch Character to transmit.
- Returns:
- Character to transmit.
Definition at line 1717 of file core_cm4.h.
Variable Documentation
volatile int32_t ITM_RxBuffer |
External variable to receive characters.
Generated on Tue Jul 12 2022 21:21:34 by
