CC26xx Driver Library
[aon_ioc] AON I/O Controller

Functions

void AONIOCDriveStrengthSet (uint32_t ui32LowDrvStr, uint32_t ui32MedDrvStr, uint32_t ui32MaxDrvStr)
 Set up the drive strength for all IOs on the chip. More...
 
uint32_t AONIOCDriveStrengthGet (uint32_t ui32DriveLevel)
 Get a specific drive level setting for all IOs. More...
 
static void AONIOCFreezeEnable (void)
 Freeze the IOs. More...
 
static void AONIOCFreezeDisable (void)
 Un-freeze the IOs. More...
 
static void AONIOC32kHzOutputDisable (void)
 Disable the 32kHz clock output. More...
 
static void AONIOC32kHzOutputEnable (void)
 Enable the 32kHz clock output. More...
 

Detailed Description

Function Documentation

static void AONIOC32kHzOutputDisable ( void  )
inlinestatic

Disable the 32kHz clock output.

When outputting a 32 kHz clock on an IO, the output enable/disable functionality in the IOC is bypassed. Therefore, the programmer needs to call this function to disable the clock output.

Returns
None
See also
AONIOC32kHzOutputEnable()

Definition at line 245 of file aon_ioc.h.

static void AONIOC32kHzOutputEnable ( void  )
inlinestatic

Enable the 32kHz clock output.

When outputting a 32 kHz clock on an IO, the output enable/disable functionality in the IOC is bypassed. Therefore, the programmer needs to call this function to enable the clock output.

Returns
None
See also
AONIOC32kHzOutputDisable()

Definition at line 267 of file aon_ioc.h.

uint32_t AONIOCDriveStrengthGet ( uint32_t  ui32DriveLevel)

Get a specific drive level setting for all IOs.

Use this function to retrieve the driver strength setting for a specific IO drive level.

Parameters
ui32DriveLevelis the specific drive level to get the setting for.
Returns
Returns the requested drive strength level setting for all IOs. Possible values are:
See also
AONIOCDriveStrengthSet()

Definition at line 112 of file aon_ioc.c.

void AONIOCDriveStrengthSet ( uint32_t  ui32LowDrvStr,
uint32_t  ui32MedDrvStr,
uint32_t  ui32MaxDrvStr 
)

Set up the drive strength for all IOs on the chip.

Use this function to define the general drive strength settings for all IOs on the device. The drive strength of the individual IOs is set using the IOC driver.

Parameters
ui32LowDrvStris the minimum drive strength for all IOs
ui32MedDrvStris the medium drive strength for all IOs
ui32MaxDrvStris the maximum drive strength for all IOs
Returns
None
See also
AONIOCDriveStrengthGet()

Set up the drive strength for all IOs on the chip.

Definition at line 60 of file aon_ioc.c.

static void AONIOCFreezeDisable ( void  )
inlinestatic

Un-freeze the IOs.

When rebooting the chip after it has entered powerdown/shutdown mode, the software can regain control of the IOs by setting the IO latches as transparent. The IOs should not be unfrozen before software has restored the functionality of the IO.

Returns
None
See also
AONIOCFreezeEnable()

Definition at line 223 of file aon_ioc.h.

Referenced by PowerCtrlIOFreezeDisable().

static void AONIOCFreezeEnable ( void  )
inlinestatic

Freeze the IOs.

To retain the values of the output IOs during a powerdown/shutdown of the device all IO latches in the AON domain should be frozen in their current state. This ensures that software can regain control of the IOs after a reboot without the IOs first falling back to the default values (i.e. input and no pull).

Returns
None
See also
AONIOCFreezeDisable()

Definition at line 200 of file aon_ioc.h.

Referenced by PowerCtrlIOFreezeEnable(), and PowerCtrlStateSet().

Macro Definition Documentation

#define AONIOC_DRV_STR10_20_40   0x00000002

Definition at line 95 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthSet().

#define AONIOC_DRV_STR14_28_56   0x00000006

Definition at line 96 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthSet().

#define AONIOC_DRV_STR20_40_80   0x00000007

Definition at line 97 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthSet().

#define AONIOC_DRV_STR28_56_112   0x00000005

Definition at line 98 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthSet().

#define AONIOC_DRV_STR40_80_112   0x00000004

Definition at line 99 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthSet().

#define AONIOC_DRV_STR5_10_20   0x00000001

Definition at line 93 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthSet().

#define AONIOC_DRV_STR5_7_14   0x00000000

Definition at line 92 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthSet().

#define AONIOC_DRV_STR7_14_28   0x00000003

Definition at line 94 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthSet().

#define AONIOC_MAX_DRIVE   AONIOC_DRV_STR40_80_112

Definition at line 101 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthGet().

#define AONIOC_MED_DRIVE   AONIOC_DRV_STR14_28_56

Definition at line 102 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthGet().

#define AONIOC_MIN_DRIVE   AONIOC_DRV_STR5_7_14

Definition at line 103 of file aon_ioc.h.

Referenced by AONIOCDriveStrengthGet().