STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
board_exti.c File Reference
#include "board_exti.h"
#include "board_time.h"
#include "main.h"
Include dependency graph for board_exti.c:

Go to the source code of this file.

Classes

struct  route_t

Functions

static route_t * find (uint16_t pin)
bool board_exti_route (uint16_t pin, osThreadId_t thread, uint32_t flags)
uint32_t board_exti_last_us (uint16_t pin)
void HAL_GPIO_EXTI_Callback (uint16_t pin)

Variables

static route_t routes []

Function Documentation

◆ board_exti_last_us()

uint32_t board_exti_last_us ( uint16_t pin)

Definition at line 39 of file board_exti.c.

References find(), and r.

Referenced by sensors_task().

◆ board_exti_route()

bool board_exti_route ( uint16_t pin,
osThreadId_t thread,
uint32_t flags )

Definition at line 29 of file board_exti.c.

References find(), r, and thread.

Referenced by anonymous_namespace{radio_task.cpp}::radio_task(), and sensors_task().

◆ find()

Variable Documentation

◆ routes

route_t routes[]
static
Initial value:
= {
{IMU_INT1_Pin, NULL, 0, 0},
{RADIO_DIO1_Pin, NULL, 0, 0},
{ETH_INT_Pin, NULL, 0, 0},
}
#define ACCEL_INT_1_Pin
Definition main.h:170
#define IMU_INT1_Pin
Definition main.h:163
#define RADIO_DIO1_Pin
Definition main.h:111
#define ETH_INT_Pin
Definition main.h:122
#define NULL
Definition usbd_def.h:44

Definition at line 13 of file board_exti.c.

Referenced by find(), and route().