Download Stellaris Peripheral Driver Library User's Guide

Transcript
www.ti.com
API Functions
19.2.2.20 SysCtlLDOConfigSet
Configures the LDO failure control.
Prototype:
void
SysCtlLDOConfigSet(unsigned long ulConfig)
Parameters:
ulConfig is the required LDO failure control setting; can be either SYSCTL_LDOCFG_ARST
or SYSCTL_LDOCFG_NORST.
Description:
This function allows the LDO to be configured to cause a processor reset when the output
voltage becomes unregulated.
The LDO failure control is only available on Sandstorm-class devices.
Returns:
None.
19.2.2.21 SysCtlLDOGet
Gets the output voltage of the LDO.
Prototype:
unsigned long
SysCtlLDOGet(void)
Description:
This function determines the output voltage of the LDO, as specified by the control register.
Returns:
Returns the current voltage of the LDO; will be one of SYSCTL_LDO_2_25V,
SYSCTL_LDO_2_30V,
SYSCTL_LDO_2_35V,
SYSCTL_LDO_2_40V,
SYSCTL_LDO_2_45V,
SYSCTL_LDO_2_50V,
SYSCTL_LDO_2_55V,
SYSCTL_LDO_2_60V,
SYSCTL_LDO_2_65V,
SYSCTL_LDO_2_70V,
or
SYSCTL_LDO_2_75V.
19.2.2.22 SysCtlLDOSet
Sets the output voltage of the LDO.
Prototype:
void
SysCtlLDOSet(unsigned long ulVoltage)
Parameters:
ulVoltage is the required output voltage from the LDO. Must be one of SYSCTL_LDO_2_25V,
SYSCTL_LDO_2_30V,
SYSCTL_LDO_2_35V,
SYSCTL_LDO_2_40V,
SYSCTL_LDO_2_45V,
SYSCTL_LDO_2_50V,
SYSCTL_LDO_2_55V,
SW-DRL-UG-5450 - December 02, 2009
System Control
261