![]() |
MINI55_BSP V3.02.004
The Board Support Package for Mini55 Series MCU
|
MINI55 series retarget source file. More...

Go to the source code of this file.
Macros | |
| #define | DEBUG_PORT UART0 |
Enumerations | |
| enum | { r0 , r1 , r2 , r3 , r12 , lr , pc , psr } |
Functions | |
| void | stackDump (uint32_t stack[]) |
| void | Hard_Fault_Handler (uint32_t stack[]) |
| __asm int32_t | HardFault_Handler (void) |
| This HardFault handler is implemented to show r0, r1, r2, r3, r12, lr, pc, psr. More... | |
| void | SendChar_ToUART (int ch) |
| Write a char to UART. More... | |
| void | SendChar (int ch) |
| Write a char to debug console. More... | |
| char | GetChar (void) |
| Read a char from debug console. More... | |
| int | kbhit (void) |
| Check whether UART receive FIFO is empty or not. More... | |
| int | IsDebugFifoEmpty (void) |
| Check whether UART transmit FIFO is empty or not. More... | |
| void | _ttywrch (int ch) |
| int | fputc (int ch, FILE *f) |
| int | fgetc (FILE *f) |
| int | ferror (FILE *f) |
Variables | |
| FILE | __stdout |
| FILE | __stdin |
MINI55 series retarget source file.
Definition in file retarget.c.
| #define DEBUG_PORT UART0 |
Definition at line 26 of file retarget.c.
| anonymous enum |
| Enumerator | |
|---|---|
| r0 | |
| r1 | |
| r2 | |
| r3 | |
| r12 | |
| lr | |
| pc | |
| psr | |
Definition at line 48 of file retarget.c.
| void _ttywrch | ( | int | ch | ) |
| int ferror | ( | FILE * | f | ) |
Definition at line 530 of file retarget.c.
| int fgetc | ( | FILE * | f | ) |
| int fputc | ( | int | ch, |
| FILE * | f | ||
| ) |
| char GetChar | ( | void | ) |
Read a char from debug console.
| None |
Definition at line 409 of file retarget.c.

| void Hard_Fault_Handler | ( | uint32_t | stack[] | ) |
Definition at line 62 of file retarget.c.


| __asm int32_t HardFault_Handler | ( | void | ) |
This HardFault handler is implemented to show r0, r1, r2, r3, r12, lr, pc, psr.
| None |
This function is implement to print r0, r1, r2, r3, r12, lr, pc, psr
Definition at line 325 of file retarget.c.

| int IsDebugFifoEmpty | ( | void | ) |
Check whether UART transmit FIFO is empty or not.
| None |
| 1 | UART Tx FIFO is empty |
| 0 | UART Tx FIFO is not empty |
Definition at line 468 of file retarget.c.
| int kbhit | ( | void | ) |
Check whether UART receive FIFO is empty or not.
| None |
| 1 | Indicates at least one character is available in UART Rx FIFO |
| 0 | UART Rx FIFO is empty |
Definition at line 452 of file retarget.c.
| void SendChar | ( | int | ch | ) |
Write a char to debug console.
| ch | The character sent to debug console |
Definition at line 372 of file retarget.c.


| void SendChar_ToUART | ( | int | ch | ) |
Write a char to UART.
| ch | The character sent to UART. |
Definition at line 352 of file retarget.c.

| void stackDump | ( | uint32_t | stack[] | ) |
| FILE __stdin |
Definition at line 46 of file retarget.c.
| FILE __stdout |
Definition at line 45 of file retarget.c.