|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <stdbool.h>#include <stdint.h>Go to the source code of this file.
Classes | |
| struct | board_pps_t |
Functions | |
| bool | board_time_start (void) |
| uint32_t | board_time_us (void) |
| board_pps_t | board_time_last_pps (void) |
| board_pps_t board_time_last_pps | ( | void | ) |
Definition at line 38 of file board_time.c.
References board_pps_t::count, count(), board_pps_t::edge_us, pps_count, and pps_edge_us.
Referenced by gnss_task().
| bool board_time_start | ( | void | ) |
Definition at line 27 of file board_time.c.
References HAL_OK, HAL_TIM_IC_Start_IT(), htim2, tim2_kernel_hz(), and TIM_CHANNEL_4.
Referenced by board_bringup_power_up().
| uint32_t board_time_us | ( | void | ) |
Definition at line 34 of file board_time.c.
References htim2.
Referenced by gnss_task(), HAL_GPIO_EXTI_Callback(), measure_lsi(), and sensors_task().