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

Configuration structure for initializing a NEO-6 handle. More...

#include <neo6.h>

Collaboration diagram for NEO6_CFG_ts:

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

Detailed Description

Configuration structure for initializing a NEO-6 handle.

Passed to neo6_init_handle to configure the USART peripheral and the RX/TX GPIO pins connected to the NEO-6M module.

Definition at line 110 of file neo6.h.

Member Data Documentation

◆ usart_instance

USART_REGDEF_ts* NEO6_CFG_ts::usart_instance

Pointer to the USART peripheral instance connected to the NEO-6M.

Definition at line 112 of file neo6.h.

◆ usart_baud_rate

USART_BAUD_RATE_te NEO6_CFG_ts::usart_baud_rate

Baud rate for the USART peripheral (typically 9600 for NEO-6M).

Definition at line 115 of file neo6.h.

◆ rx_gpio_port

GPIO_REGDEF_ts* NEO6_CFG_ts::rx_gpio_port

GPIO port of the USART RX pin.

Definition at line 118 of file neo6.h.

◆ rx_gpio_pin

GPIO_PIN_te NEO6_CFG_ts::rx_gpio_pin

GPIO pin number of the USART RX pin.

Definition at line 121 of file neo6.h.

◆ tx_gpio_port

GPIO_REGDEF_ts* NEO6_CFG_ts::tx_gpio_port

GPIO port of the USART TX pin.

Definition at line 124 of file neo6.h.

◆ tx_gpio_pin

GPIO_PIN_te NEO6_CFG_ts::tx_gpio_pin

GPIO pin number of the USART TX pin.

Definition at line 127 of file neo6.h.

◆ gpio_alternate_function

GPIO_ALTERNATE_FUNCTION_te NEO6_CFG_ts::gpio_alternate_function

Alternate function mapping for both RX and TX GPIO pins.

Definition at line 130 of file neo6.h.


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