Library
Dependents: led_test myled_test2 Comunication_PC_USB mbed_tt ... more
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 1533 of file core_cm3.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 1514 of file core_cm3.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 1495 of file core_cm3.h.
Variable Documentation
| volatile int32_t ITM_RxBuffer |
External variable to receive characters.
Generated on Thu Jul 14 2022 03:29:19 by
1.7.2