![]() |
PDL for FM0+
Version1.0
Peripheral Driverl Library for FM0+
|
Go to the source code of this file.
Defines | |
#define | InitPrintfIo() {SetPinFunc_SIN0_0();SetPinFunc_SOT0_0();} |
Functions | |
void | Uart_Printf_Init (void) |
UART initialization for printf usage. | |
int | putchar (int ch) |
Re-target putchar function. | |
Variables | |
volatile stc_mfsn_uart_t * | UartCh = &UART0 |
The file re-targets the "putchar" function. The printf can be output via UART with this function.
A detailed description is available at Uart Printf Module description
History:
Definition in file uart_printf.c.
#define InitPrintfIo | ( | ) | {SetPinFunc_SIN0_0();SetPinFunc_SOT0_0();} |
Definition at line 62 of file uart_printf.c.
Referenced by Uart_Printf_Init().
volatile stc_mfsn_uart_t* UartCh = &UART0 |
Definition at line 66 of file uart_printf.c.
Referenced by putchar(), and Uart_Printf_Init().