GPS Device
Loading...
Searching...
No Matches
CONSOLE_HANDLE_ts Struct Reference

Configuration handle for initializing the console subsystem. More...

#include <console.h>

Collaboration diagram for CONSOLE_HANDLE_ts:

Public Attributes

USART_REGDEF_tsusart_instance
USART_BAUD_RATE_te usart_baud_rate
GPIO_REGDEF_tsgpio_port
GPIO_PIN_te gpio_pin
GPIO_ALTERNATE_FUNCTION_te gpio_alternate_function

Detailed Description

Configuration handle for initializing the console subsystem.

This structure is passed to console_init and provides all hardware parameters needed to configure the USART peripheral and its associated RX GPIO pin.

Definition at line 57 of file console.h.

Member Data Documentation

◆ usart_instance

USART_REGDEF_ts* CONSOLE_HANDLE_ts::usart_instance

Pointer to the USART peripheral instance to use for the console.

Definition at line 59 of file console.h.

◆ usart_baud_rate

USART_BAUD_RATE_te CONSOLE_HANDLE_ts::usart_baud_rate

Baud rate to configure on the USART peripheral.

Definition at line 62 of file console.h.

◆ gpio_port

GPIO_REGDEF_ts* CONSOLE_HANDLE_ts::gpio_port

GPIO port of the USART RX pin.

Definition at line 65 of file console.h.

◆ gpio_pin

GPIO_PIN_te CONSOLE_HANDLE_ts::gpio_pin

GPIO pin number of the USART RX pin.

Definition at line 68 of file console.h.

◆ gpio_alternate_function

GPIO_ALTERNATE_FUNCTION_te CONSOLE_HANDLE_ts::gpio_alternate_function

Alternate function mapping to route the pin to the USART peripheral.

Definition at line 71 of file console.h.


The documentation for this struct was generated from the following file: