WIZlib Library API
ver 1.0
WIZlib Library API User Menual
|
Platform independent USART driver. More...
Macros | |
#define | PUTCHAR(ch_v) |
Define the compiler independent function which put character. | |
#define | GETCHAR() |
Define the compiler independent function which get character. | |
Enumerations | |
enum | wizpf_usart { WIZ_USART1, WIZ_USART2, WIZ_USART3 } |
Indicate the USART index number. More... | |
Functions | |
int8 | wizpf_uart_init (wizpf_usart usart) |
Initialize USART Peripheral Device. More... | |
int32 | getchar_nonblk (void) |
Get one character from USART1 (None-Blocking). More... | |
int | putchar (int ch) |
Put one character to USART1. More... | |
int | getchar (void) |
Get one character from USART1. More... | |
Platform independent USART driver.
enum wizpf_usart |
Indicate the USART index number.
Enumerator | |
---|---|
WIZ_USART1 |
Indicate the 1st USART. |
WIZ_USART2 |
Indicate the 2nd USART. |
WIZ_USART3 |
Indicate the 3rd USART. |
Definition at line 22 of file wizplatform.h.
int getchar | ( | void | ) |
Get one character from USART1.
This is used by EWARM compiler as Standard IO Function.
int32 getchar_nonblk | ( | void | ) |
Get one character from USART1 (None-Blocking).
Definition at line 415 of file WIZ_W5200/wizplatform.c.
int putchar | ( | int | ch | ) |
Put one character to USART1.
This is used by EWARM compiler as Standard IO Function.
ch | Character to put |
int8 wizpf_uart_init | ( | wizpf_usart | usart | ) |
Initialize USART Peripheral Device.
usart | USART index number (wizpf_usart) |
Definition at line 84 of file WIZ_W5200/wizplatform.c.