FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
udma_timestamp.c File Reference

Functions

static void __pi_udma_timestamp_cnt_clr (uint8_t timestamp_id)
 
static void __pi_udma_timestamp_cnt_stop (uint8_t timestamp_id)
 
static void __pi_udma_timestamp_cnt_close ()
 
static void __pi_udma_evt_cfg_init ()
 
static void __pi_udma_timestamp_evt_cfg (uint8_t cfg_evt, uint32_t soc_evt)
 
static void __pi_udma_timestamp_input_set (pi_timestamp_gpio_input_t *gpio)
 
pi_udma_timestamp_t * pi_udma_timestamp_alloc ()
 
void pi_udma_timestamp_free (pi_udma_timestamp_t *timestamp)
 
void pi_timestamp_conf_init (struct pi_timestamp_conf *conf)
 
void pi_udma_timestamp_open (struct pi_timestamp_conf *conf)
 
void pi_udma_timestamp_close ()
 
int32_t pi_udma_timestamp_ioctl (pi_udma_timestamp_t *timestamp, uint32_t cmd, void *arg)
 

Variables

static struct
pi_udma_timestamp_cnt_s 
timestamp_cnt
 
static struct pi_udma_timestamp_stimestamp_ptr [UDMA_NB_TIMESTAMP_EVT]
 

Function Documentation

static void __pi_udma_timestamp_cnt_clr ( uint8_t  timestamp_id)
static
static void __pi_udma_timestamp_cnt_stop ( uint8_t  timestamp_id)
static
void pi_timestamp_conf_init ( struct pi_timestamp_conf *  conf)
void pi_udma_timestamp_free ( pi_udma_timestamp_t *  timestamp)
int32_t pi_udma_timestamp_ioctl ( pi_udma_timestamp_t *  timestamp,
uint32_t  cmd,
void *  arg 
)

Variable Documentation

struct pi_udma_timestamp_cnt_s timestamp_cnt
static

Referenced by pi_udma_timestamp_alloc().

struct pi_udma_timestamp_s* timestamp_ptr[UDMA_NB_TIMESTAMP_EVT]
static