82 rtc_calendar.
date = 29;
85 rtc_calendar.
year = 2026;
Arm Cortex-M4 SysTick driver public API.
System-wide error code definitions.
ERR_te systick_init(SYSTICK_CFG_ts const *systick_cfg)
Initializes and starts the SysTick timer.
@ SYSTICK_CLK_SOURCE_PROCESSOR
ERR_te
Standard return type used by all public API functions.
@ ERR_MODULE_ALREADY_INITIALIZED
ERR_te init_log(void)
Initializes the logging subsystem.
ERR_te init_neo6(void)
Initializes the NEO-6 GPS module.
ERR_te init_systick(void)
Initializes the SysTick timer.
ERR_te init_rtc(void)
Initializes the RTC peripheral and sets a default calendar and time.
ERR_te log_init(LOG_HANDLE_ts *log_handle)
Initializes the log subsystem.
ERR_te neo6_start_subsys(void)
Starts the NEO-6 subsystem.
ERR_te neo6_init_handle(NEO6_CFG_ts *neo6_cfg, NEO6_HANDLE_ts **neo6_handle_o)
Initializes the NEO-6 hardware handle.
ERR_te neo6_init_subsys(void)
Initializes the NEO-6 subsystem.
struct neo6_handle_s NEO6_HANDLE_ts
Opaque handle representing the NEO-6 hardware instance.
@ GPIO_ALTERNATE_FUNCTION_AF7
@ GPIO_ALTERNATE_FUNCTION_AF8
void rtc_set_calendar(CALENDAR_ts const *date)
Sets the RTC calendar (date and weekday).
void rtc_set_time(TIME_ts const *time)
Sets the RTC time (hours, minutes, seconds).
ERR_te rtc_init(void)
Initializes the RTC peripheral.
Common initialization public API.
Log subsystem public API.
NEO6_HANDLE_ts * neo6_handle
NEO-6M GPS module public API.
STM32F401RE RTC driver public API.
Holds a calendar date (year, month, day, weekday).
Configuration handle for initializing the log subsystem.
GPIO_REGDEF_ts * gpio_port
GPIO_ALTERNATE_FUNCTION_te gpio_alternate_function
USART_BAUD_RATE_te usart_baud_rate
USART_REGDEF_ts * usart_instance
Configuration structure for initializing a NEO-6 handle.
USART_REGDEF_ts * usart_instance
GPIO_REGDEF_ts * rx_gpio_port
GPIO_REGDEF_ts * tx_gpio_port
USART_BAUD_RATE_te usart_baud_rate
GPIO_ALTERNATE_FUNCTION_te gpio_alternate_function
Configuration structure for initializing the SysTick timer.
SYSTICK_CLK_SOURCE_te clk_source
Holds a time-of-day value (hours, minutes, seconds).