no-OS
Loading...
Searching...
No Matches
common_data.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __COMMON_DATA_H__
34#define __COMMON_DATA_H__
35
36#include "platform.h"
37
38/* UART parameters for console output (UART0) */
40
41/* UART parameters for GNSS communication (UART1) */
43
44/* GPIO parameters for GNSS reset */
46
47/* GPIO parameters for GNSS led */
49
50/* IRQ parameters */
52
53/* Console UART configuration (UART0) */
54#define CONSOLE_UART_DEVICE_ID 0
55#define CONSOLE_UART_BAUDRATE 115200
56#define CONSOLE_UART_PARITY NO_OS_UART_PAR_NO
57#define CONSOLE_UART_STOP NO_OS_UART_STOP_1_BIT
58
59/* GNSS UART configuration (UART1) */
60#define GNSS_UART_DEVICE_ID 1
61#define GNSS_UART_BAUDRATE 38400
62#define GNSS_UART_PARITY NO_OS_UART_PAR_NO
63#define GNSS_UART_STOP NO_OS_UART_STOP_1_BIT
64
65#define GNSS_PPS_1HZ 1
66#define GNSS_PPS_LENGTH_100MS 100
67#endif /* __COMMON_DATA_H__ */
struct no_os_irq_init_param gnss_nvic_ip
Definition platform.c:48
struct no_os_gpio_init_param gpio_gnss_reset_ip
Definition platform.c:75
struct no_os_gpio_init_param gpio_led_ip
Definition platform.c:84
struct no_os_uart_init_param uart_gnss_ip
Definition platform.c:64
struct no_os_uart_init_param uart_console_ip
Definition platform.c:53
Structure holding the parameters for GPIO initialization.
Definition no_os_gpio.h:67
Structure holding the initial parameters for Interrupt Request.
Definition no_os_irq.h:101
Structure holding the parameters for UART initialization.
Definition no_os_uart.h:98