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().
Referenced by app_no_device_found_handler(), ble_pair_key_request_handler(), ble_scan_report_app_event(), and pxp_monitor_start_scan().
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().