Data Structures | Macros | Functions
PowerCC26X2.h File Reference

Detailed Description

Power manager interface for CC26X2.

============================================================================

The Power header file should be included in an application as follows:

Refer to Power.h for a complete description of APIs.

Implementation

This header file defines the power resources, constraints, events, sleep states and transition latencies for CC26X2.


#include <ti/drivers/dpl/HwiP.h>
#include <ti/drivers/dpl/ClockP.h>
#include <ti/drivers/Power.h>
#include <ti/drivers/power/PowerCC26XX.h>
#include <ti/drivers/Temperature.h>
#include <ti/devices/DeviceFamily.h>
Include dependency graph for PowerCC26X2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PowerCC26X2_Config
 Global configuration structure. More...
 
struct  PowerCC26X2_ModuleState
 PowerCC26X2_ModuleState. More...
 

Macros

#define PowerCC26X2_RESUMETIMESTANDBY   750
 
#define PowerCC26X2_TOTALTIMESTANDBY   1000
 
#define PowerCC26X2_WAKEDELAYSTANDBY   240
 
#define PowerCC26X2_INITIALWAITRCOSC_LF   1000
 
#define PowerCC26X2_RETRYWAITRCOSC_LF   1000
 
#define PowerCC26X2_INITIALWAITXOSC_HF   50
 
#define PowerCC26X2_RETRYWAITXOSC_HF   50
 
#define PowerCC26X2_INITIALWAITXOSC_LF   10000
 
#define PowerCC26X2_RETRYWAITXOSC_LF   5000
 
#define PowerCC26X2_PERIPH_PKA   PowerCC26XX_PERIPH_PKA
 
#define PowerCC26X2_PERIPH_UART1   PowerCC26XX_PERIPH_UART1
 
#define PowerCC26X2_PERIPH_SSI1   PowerCC26XX_PERIPH_SSI1
 
#define PowerCC26X2_PERIPH_UART2   PowerCC26XX_PERIPH_UART2
 
#define PowerCC26X2_PERIPH_UART3   PowerCC26XX_PERIPH_UART3
 
#define PowerCC26X2_PERIPH_SSI2   PowerCC26XX_PERIPH_SSI2
 
#define PowerCC26X2_PERIPH_SSI3   PowerCC26XX_PERIPH_SSI3
 
#define PowerCC26X2_PERIPH_I2C1   PowerCC26XX_PERIPH_I2C1
 
#define PowerCC26X2_HPOSC_RTC_COMPENSATION_DELTA   3
 

Functions

void PowerCC26X2_enableHposcRtcCompensation (void)
 Enable RTC compensation when SCLK_LF is derived from HPOSC. More...
 

Macro Definition Documentation

§ PowerCC26X2_RESUMETIMESTANDBY

#define PowerCC26X2_RESUMETIMESTANDBY   750

The latency to reserve for resume from STANDBY (usec).

§ PowerCC26X2_TOTALTIMESTANDBY

#define PowerCC26X2_TOTALTIMESTANDBY   1000

The total latency to reserve for entry to and exit from STANDBY (usec).

§ PowerCC26X2_WAKEDELAYSTANDBY

#define PowerCC26X2_WAKEDELAYSTANDBY   240

The initial delay when waking from STANDBY (usec).

§ PowerCC26X2_INITIALWAITRCOSC_LF

#define PowerCC26X2_INITIALWAITRCOSC_LF   1000

The initial wait time (usec) before checking if RCOSC_LF is stable.

§ PowerCC26X2_RETRYWAITRCOSC_LF

#define PowerCC26X2_RETRYWAITRCOSC_LF   1000

The retry wait time (usec) when checking to see if RCOSC_LF is stable.

§ PowerCC26X2_INITIALWAITXOSC_HF

#define PowerCC26X2_INITIALWAITXOSC_HF   50

The initial wait time (usec) before checking if XOSC_HF is stable.

§ PowerCC26X2_RETRYWAITXOSC_HF

#define PowerCC26X2_RETRYWAITXOSC_HF   50

The retry wait time (usec) when checking to see if XOSC_HF is stable.

§ PowerCC26X2_INITIALWAITXOSC_LF

#define PowerCC26X2_INITIALWAITXOSC_LF   10000

The initial wait time (usec) before checking if XOSC_LF is stable.

§ PowerCC26X2_RETRYWAITXOSC_LF

#define PowerCC26X2_RETRYWAITXOSC_LF   5000

The retry wait time (usec) when checking to see if XOSC_LF is stable.

§ PowerCC26X2_PERIPH_PKA

#define PowerCC26X2_PERIPH_PKA   PowerCC26XX_PERIPH_PKA

< Resource ID: PKA Module Resource ID: UART1

§ PowerCC26X2_PERIPH_UART1

#define PowerCC26X2_PERIPH_UART1   PowerCC26XX_PERIPH_UART1

Resource ID: SSI1

§ PowerCC26X2_PERIPH_SSI1

#define PowerCC26X2_PERIPH_SSI1   PowerCC26XX_PERIPH_SSI1

§ PowerCC26X2_PERIPH_UART2

#define PowerCC26X2_PERIPH_UART2   PowerCC26XX_PERIPH_UART2

< Resource ID: UART2 Resource ID: UART3

§ PowerCC26X2_PERIPH_UART3

#define PowerCC26X2_PERIPH_UART3   PowerCC26XX_PERIPH_UART3

Resource ID: SSI2

§ PowerCC26X2_PERIPH_SSI2

#define PowerCC26X2_PERIPH_SSI2   PowerCC26XX_PERIPH_SSI2

Resource ID: SSI3

§ PowerCC26X2_PERIPH_SSI3

#define PowerCC26X2_PERIPH_SSI3   PowerCC26XX_PERIPH_SSI3

Resource ID: I2C1

§ PowerCC26X2_PERIPH_I2C1

#define PowerCC26X2_PERIPH_I2C1   PowerCC26XX_PERIPH_I2C1

§ PowerCC26X2_HPOSC_RTC_COMPENSATION_DELTA

#define PowerCC26X2_HPOSC_RTC_COMPENSATION_DELTA   3

The temperature delta in degrees C before the RTC is re-compensated when SCLK_LF is derived from SCLK_HF and SCLK_HF is supplied by HPOSC.

Function Documentation

§ PowerCC26X2_enableHposcRtcCompensation()

void PowerCC26X2_enableHposcRtcCompensation ( void  )

Enable RTC compensation when SCLK_LF is derived from HPOSC.

Enables automatic compensation for temperature based clock drift of the RTC when SCLK_LF is derived from HPOSC.

It only needs to be called once after the system boots.

This function should only be called when SCLK_LF is configured to be drived from HPOSC.

© Copyright 1995-2022, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale