Serial Console functionalities.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
uint8_t | getchar_timeout (uint32_t timeout) |
void | serial_console_init (void) |
Configure console. More... | |
uint8_t getchar_timeout | ( | uint32_t | timeout | ) |
References cdc_uart_module, delay_ms, STATUS_OK, and usart_read_wait().
void serial_console_init | ( | void | ) |
Configure console.
References usart_config::baudrate, cdc_uart_module, CONF_STDIO_BAUDRATE, CONF_STDIO_MUX_SETTING, CONF_STDIO_PINMUX_PAD0, CONF_STDIO_PINMUX_PAD1, CONF_STDIO_PINMUX_PAD2, CONF_STDIO_PINMUX_PAD3, CONF_STDIO_USART_MODULE, usart_config::mux_setting, usart_config::pinmux_pad0, usart_config::pinmux_pad1, usart_config::pinmux_pad2, usart_config::pinmux_pad3, usart_enable(), and usart_get_config_defaults().
Referenced by main().