![]() |
RTEMS 6.3
|
#include <stdint.h>Go to the source code of this file.
Functions | |
| void | DBG_Configure (uint32_t dwBaudrate, uint32_t dwMasterClock) |
| Configures an USART peripheral with the specified parameters. | |
| void | DBG_PutChar (uint8_t uc) |
| Outputs a character on the UART line. | |
| uint32_t | DBG_GetChar (void) |
| Input a character from the UART line. | |
| uint32_t | DBG_IsRxReady (void) |
| Check if there is Input from UART line. | |
| void | DBG_DumpFrame (uint8_t *pucFrame, uint32_t dwSize) |
| void | DBG_DumpMemory (uint8_t *pucBuffer, uint32_t dwSize, uint32_t dwAddress) |
| uint32_t | DBG_GetInteger (int32_t *pdwValue) |
| uint32_t | DBG_GetIntegerMinMax (int32_t *pdwValue, int32_t dwMin, int32_t dwMax) |
| uint32_t | DBG_GetHexa32 (uint32_t *pdwValue) |
Include function prototype for the UART console.
|
extern |
Configures an USART peripheral with the specified parameters.
| baudrate | Baudrate at which the USART should operate (in Hz). |
| masterClock | Frequency of the system master clock (in Hz). |
|
extern |
Displays the content of the given frame on the UART0.
| pucFrame | Pointer to the frame to dump. |
| dwSize | Buffer size in bytes. |
|
extern |
Displays the content of the given buffer on the UART0.
| pucBuffer | Pointer to the buffer to dump. |
| dwSize | Buffer size in bytes. |
| dwAddress | Start address to display |
|
extern |
Input a character from the UART line.
|
extern |
Reads an hexadecimal number
| pdwValue | Pointer to the uint32_t variable to contain the input value. |
|
extern |
Reads an integer
| pdwValue | Pointer to a integer variable to contain the input value. |
|
extern |
Reads an integer and check the value
| pdwValue | Pointer to a integer variable to contain the input value. |
| dwMin | Minimum value |
| dwMax | Maximum value |
|
extern |
Check if there is Input from UART line.
|
extern |
Outputs a character on the UART line.
| c | Character to send. |