Macros | Functions | Variables
CMSIS CM3 Core Debug Interface
Collaboration diagram for CMSIS CM3 Core Debug Interface:

Macros

#define ITM_RXBUFFER_EMPTY   0x5AA55AA5
 

Functions

static __INLINE int ITM_CheckChar (void)
 Check if a character via variable ITM_RxBuffer is available. More...
 
static __INLINE int ITM_ReceiveChar (void)
 Inputs a character via variable ITM_RxBuffer. More...
 
static __INLINE uint32_t ITM_SendChar (uint32_t ch)
 Outputs a character via the ITM channel 0. More...
 

Variables

volatile int ITM_RxBuffer
 

Detailed Description

Core Debug Interface containing:

Macro Definition Documentation

#define ITM_RXBUFFER_EMPTY   0x5AA55AA5

value identifying ITM_RxBuffer is ready for next character

Definition at line 1745 of file breezy/breezystm32/lib/CMSIS/CM3/CoreSupport/core_cm3.h.

Function Documentation

static __INLINE int ITM_CheckChar ( void  )
static

Check if a character via variable ITM_RxBuffer is available.

Returns
1 = character available, 0 = no character available

The function checks variable ITM_RxBuffer whether a character is available or not. The function returns '1' if a character is available and '0' if no character is available.

Definition at line 1800 of file breezy/breezystm32/lib/CMSIS/CM3/CoreSupport/core_cm3.h.

static __INLINE int ITM_ReceiveChar ( void  )
static

Inputs a character via variable ITM_RxBuffer.

Returns
received character, -1 = no character received

The function inputs a character via variable ITM_RxBuffer. The function returns when no debugger is connected that has booked the output. It is blocking when a debugger is connected, but the previous character send is not transmitted.

Definition at line 1780 of file breezy/breezystm32/lib/CMSIS/CM3/CoreSupport/core_cm3.h.

static __INLINE uint32_t ITM_SendChar ( uint32_t  ch)
static

Outputs a character via the ITM channel 0.

Parameters
chcharacter to output
Returns
character to output

The function outputs a character via the ITM channel 0. The function returns when no debugger is connected that has booked the output. It is blocking when a debugger is connected, but the previous character send is not transmitted.

Definition at line 1758 of file breezy/breezystm32/lib/CMSIS/CM3/CoreSupport/core_cm3.h.

Variable Documentation

volatile int ITM_RxBuffer

variable to receive characters



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:58