James Reynolds / AD594x Driver
Embed: (wiki syntax)

« Back to documentation index

LPMode_Block_Functions

LPMode_Block_Functions
[MISC_Block_Functions]

GPIO_Block_Functions. More...

Functions

AD5940Err AD5940_LPModeEnS (BoolFlag LPModeEn)
 Enter or leave LPMODE.
void AD5940_LPModeClkS (uint32_t LPModeClk)
 Select system clock source for LPMODE.

Detailed Description

GPIO_Block_Functions.


Function Documentation

void AD5940_LPModeClkS ( uint32_t  LPModeClk )

Select system clock source for LPMODE.

Note:
Only in LP Mode, this operation takes effect. Enter LPMODE by function AD5940_LPModeEnS.
Parameters:
LPModeClk,:Select from LPMODECLK_Const

  • LPMODECLK_LFOSC: Select LFOSC 32kHz for system clock
  • LPMODECLK_HFOSC: Select HFOSC 16MHz/32MHz for system clock
Returns:
none.

Definition at line 2894 of file ad5940.c.

AD5940Err AD5940_LPModeEnS ( BoolFlag  LPModeEn )

Enter or leave LPMODE.

Once enter this mode, some registers are collected together to a new register so we can Control most blocks with in one register. The so called LPMODE has nothing to do with AD5940 power.

Returns:
return AD5940ERR_OK

Definition at line 2877 of file ad5940.c.