![]() |
![]() |
McBSP sample rate generator configuration structure. More...
#include <mcbsp_drv.h>
Data Fields | |
| Bool | gSync |
| Mcbsp_ClkSPol | clksPolarity |
| Mcbsp_SrgClk | srgInputClkMode |
| uint32_t | srgrInputFreq |
| uint32_t | srgFrmPulseWidth |
McBSP sample rate generator configuration structure.
Configurations for the Sample rate generator to generate the BCLK and Frame Sync signals are specified using this structure.
CLKS polarity used to drive the CLKG and FSG clocks
sample rate generator clock syncronization bit (only if CLKS is used)
| uint32_t Mcbsp_srgConfig_t::srgFrmPulseWidth |
Set the Frame Sync Pulse width in terms of FSG clock
Source for the Sample rate generator (CLKS,CPU,CLKX,CLKR)
| uint32_t Mcbsp_srgConfig_t::srgrInputFreq |
input clock frequency for the SRGR (freq of CLKS or CLKX etc..)