Structure defining SDFM configuration interface.
Firmware configuration interface exposed through PRU data
memory - used by driver to configure firmware parameters
Data Fields | |
volatile uint8_t | ch_id |
volatile uint8_t | filter_type |
volatile uint8_t | osr |
SDFM_ThresholdParms | sdfm_threshold_parms |
volatile uint8_t | fd_window |
volatile uint8_t | fd_zero_max |
volatile uint8_t | fd_zero_min |
volatile uint8_t | fd_one_max |
volatile uint8_t | fd_one_min |
SDFM_ClkSourceParms | sdfm_clk_parms |
SDFM_GpioParams | sdfm_gpio_params |
volatile uint8_t SDFM_Cfg::ch_id |
< Channle id Filter type - sinc1, sinc2, sinc3
volatile uint8_t SDFM_Cfg::filter_type |
Accumulator Over Sampling Rate (OSR)
volatile uint8_t SDFM_Cfg::osr |
sdfm threshold parms
SDFM_ThresholdParms SDFM_Cfg::sdfm_threshold_parms |
Fast detect window size
volatile uint8_t SDFM_Cfg::fd_window |
Fast detect max count of zero
volatile uint8_t SDFM_Cfg::fd_zero_max |
Fast detect min count of zero
volatile uint8_t SDFM_Cfg::fd_zero_min |
Fast detect max count of one
volatile uint8_t SDFM_Cfg::fd_one_max |
Fast detect min count of one
volatile uint8_t SDFM_Cfg::fd_one_min |
sdfm ch clock parms
SDFM_ClkSourceParms SDFM_Cfg::sdfm_clk_parms |
array to store the params of gpios for zero cross threshold
SDFM_GpioParams SDFM_Cfg::sdfm_gpio_params |