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

Internal structure representing the NEO-6 hardware instance. More...

Collaboration diagram for neo6_handle_s:

Public Attributes

USART_REGDEF_tsusart_instance
USART_BAUD_RATE_te usart_baud_rate
GPIO_REGDEF_tsrx_gpio_port
GPIO_PIN_te rx_gpio_pin
GPIO_REGDEF_tstx_gpio_port
GPIO_PIN_te tx_gpio_pin
GPIO_ALTERNATE_FUNCTION_te gpio_alternate_function
bool initialized

Detailed Description

Internal structure representing the NEO-6 hardware instance.

Mirrors the NEO6_CFG_ts fields and adds an initialization guard. Only one instance is supported; it is embedded directly in internal_state_s rather than allocated from a pool.

Definition at line 93 of file neo6.c.

Member Data Documentation

◆ usart_instance

USART_REGDEF_ts* neo6_handle_s::usart_instance

Pointer to the USART peripheral used for GPS communication.

Definition at line 95 of file neo6.c.

◆ usart_baud_rate

USART_BAUD_RATE_te neo6_handle_s::usart_baud_rate

Configured baud rate of the USART peripheral.

Definition at line 98 of file neo6.c.

◆ rx_gpio_port

GPIO_REGDEF_ts* neo6_handle_s::rx_gpio_port

GPIO port of the USART RX pin.

Definition at line 101 of file neo6.c.

◆ rx_gpio_pin

GPIO_PIN_te neo6_handle_s::rx_gpio_pin

GPIO pin number of the USART RX pin.

Definition at line 104 of file neo6.c.

◆ tx_gpio_port

GPIO_REGDEF_ts* neo6_handle_s::tx_gpio_port

GPIO port of the USART TX pin.

Definition at line 107 of file neo6.c.

◆ tx_gpio_pin

GPIO_PIN_te neo6_handle_s::tx_gpio_pin

GPIO pin number of the USART TX pin.

Definition at line 110 of file neo6.c.

◆ gpio_alternate_function

GPIO_ALTERNATE_FUNCTION_te neo6_handle_s::gpio_alternate_function

Alternate function mapping for both RX and TX GPIO pins.

Definition at line 113 of file neo6.c.

◆ initialized

bool neo6_handle_s::initialized

True after neo6_init_handle has completed successfully.

Definition at line 116 of file neo6.c.


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