FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pi_udma_timestamp_cnt_s Struct Reference

Data Fields

uint8_t device_id
 
uint8_t cnt_trig_gpio
 
pi_timestamp_cnt_gpio_trig_type_e cnt_trig_type
 
pi_timestamp_cnt_src_e cnt_src
 
uint8_t cnt_src_id
 
uint8_t prescaler
 
uint8_t cnt_en
 

Field Documentation

uint8_t pi_udma_timestamp_cnt_s::cnt_en

If the counter is enabled

Referenced by __pi_udma_timestamp_cnt_close(), and pi_udma_timestamp_open().

pi_timestamp_cnt_src_e pi_udma_timestamp_cnt_s::cnt_src

timestamp counter source

Referenced by pi_udma_timestamp_open().

uint8_t pi_udma_timestamp_cnt_s::cnt_src_id

GPIO/PWM number depends on the counter source

Referenced by pi_udma_timestamp_open().

uint8_t pi_udma_timestamp_cnt_s::cnt_trig_gpio

gpio number for trigger the timestamp cnter

Referenced by __pi_udma_timestamp_cnt_close(), and pi_udma_timestamp_open().

pi_timestamp_cnt_gpio_trig_type_e pi_udma_timestamp_cnt_s::cnt_trig_type

how the gpio trigger the timestamp counter

Referenced by pi_udma_timestamp_open().

uint8_t pi_udma_timestamp_cnt_s::device_id
uint8_t pi_udma_timestamp_cnt_s::prescaler

Prescaler for timestamp counter

Referenced by pi_udma_timestamp_open().