James Reynolds / AD594x Driver
Embed: (wiki syntax)

« Back to documentation index

CLKCfg_Type Struct Reference

CLKCfg_Type Struct Reference
[TypeDefinitions]

Clock configure. More...

#include <ad5940.h>

Data Fields

uint32_t SysClkSrc
 System clock source SYSCLKSRC_Const.
uint32_t ADCCLkSrc
 ADC clock source ADCCLKSRC_Const.
uint32_t SysClkDiv
 System clock divider.
uint32_t ADCClkDiv
 ADC control clock divider.
BoolFlag HFOSCEn
 Enable internal 16MHz/32MHz HFOSC.
BoolFlag HfOSC32MHzMode
 Enable internal HFOSC to output 32MHz.
BoolFlag LFOSCEn
 Enable internal 32kHZ OSC.
BoolFlag HFXTALEn
 Enable XTAL driver.

Detailed Description

Clock configure.

Definition at line 4540 of file ad5940.h.


Field Documentation

uint32_t ADCClkDiv

ADC control clock divider.

ADC core clock is , but control clock should be <16MHz.

Definition at line 4545 of file ad5940.h.

uint32_t ADCCLkSrc

ADC clock source ADCCLKSRC_Const.

Definition at line 4543 of file ad5940.h.

Enable internal HFOSC to output 32MHz.

Definition at line 4547 of file ad5940.h.

Enable internal 16MHz/32MHz HFOSC.

Definition at line 4546 of file ad5940.h.

Enable XTAL driver.

Definition at line 4549 of file ad5940.h.

Enable internal 32kHZ OSC.

Definition at line 4548 of file ad5940.h.

uint32_t SysClkDiv

System clock divider.

Use this to ensure System clock < 16MHz.

Definition at line 4544 of file ad5940.h.

uint32_t SysClkSrc

System clock source SYSCLKSRC_Const.

Definition at line 4542 of file ad5940.h.