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

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

#include <log.h>

Collaboration diagram for LOG_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 log subsystem.

Passed to log_init to configure the USART peripheral and TX GPIO pin used for serial log output.

Definition at line 80 of file log.h.

Member Data Documentation

◆ usart_instance

USART_REGDEF_ts* LOG_HANDLE_ts::usart_instance

Pointer to the USART peripheral instance to use for log output.

Definition at line 82 of file log.h.

◆ usart_baud_rate

USART_BAUD_RATE_te LOG_HANDLE_ts::usart_baud_rate

Baud rate to configure on the USART peripheral.

Definition at line 85 of file log.h.

◆ gpio_port

GPIO_REGDEF_ts* LOG_HANDLE_ts::gpio_port

GPIO port of the USART TX pin.

Definition at line 88 of file log.h.

◆ gpio_pin

GPIO_PIN_te LOG_HANDLE_ts::gpio_pin

GPIO pin number of the USART TX pin.

Definition at line 91 of file log.h.

◆ gpio_alternate_function

GPIO_ALTERNATE_FUNCTION_te LOG_HANDLE_ts::gpio_alternate_function

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

Definition at line 94 of file log.h.


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