PowerCC27XX_veneers.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2024-2025, Texas Instruments Incorporated
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the distribution.
15  *
16  * * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
44 #ifndef ti_drivers_power_PowerCC27XX_veneers_
45 #define ti_drivers_power_PowerCC27XX_veneers_
46 
47 #include <ti/drivers/Power.h>
50 
51 int_fast16_t Power_getDependencyCount_veneer(Power_Resource resourceId);
52 
54 
56  volatile const uint32_t *constraintMask,
57  volatile const uint8_t (*const constraintCounts)[PowerCC27XX_NUMCONSTRAINTS]);
58 
59 int_fast16_t Power_setDependency_veneer(Power_Resource resourceId);
60 
61 int_fast16_t Power_releaseDependency_veneer(Power_Resource resourceId);
62 
63 int_fast16_t Power_shutdown_veneer(uint_fast16_t shutdownState, uint_fast32_t shutdownTime);
64 
66 
67 void Power_reset_veneer(void);
68 
69 void PowerCC27XX_doWFI_veneer(void);
70 
71 int_fast16_t PowerLPF3_startAFOSC_veneer(PowerLPF3_AfoscFreq frequency);
72 
74 
75 uint_fast16_t PowerCC27XX_getCurrentEventsMask_veneer(void);
76 
81 
82 int_fast16_t PowerLPF3_sleep_veneer(uint32_t nextEventTimeUs);
83 
84 #endif /* ti_drivers_power_PowerCC27XX_veneers_ */
void PowerLPF3_releaseLatches_veneer(void)
void PowerCC27XX_doWFI_veneer(void)
Definition: SecureCallback.h:51
uint_fast16_t PowerCC27XX_getCurrentEventsMask_veneer(void)
PowerLPF3_ResetReason
Reasons the device has booted or rebooted.
Definition: PowerCC23X0.h:328
void PowerCC27XX_setNonSecureNotificationHandle_veneer(SecureCallback_Handle handle)
Power Manager.
int_fast16_t Power_setDependency_veneer(Power_Resource resourceId)
int_fast16_t PowerLPF3_sleep_veneer(uint32_t nextEventTimeUs)
int_fast16_t PowerCC27XX_setNonSecureConstraintPointers_veneer(volatile const uint32_t *constraintMask, volatile const uint8_t(*const constraintCounts)[PowerCC27XX_NUMCONSTRAINTS])
int_fast16_t Power_releaseDependency_veneer(Power_Resource resourceId)
int_fast16_t Power_shutdown_veneer(uint_fast16_t shutdownState, uint_fast32_t shutdownTime)
uint32_t Power_Resource
Power resource identifier.
Definition: Power.h:452
PowerLPF3_AfoscFreq
The possible frequencies to configure the AFOSC to.
Definition: PowerCC27XX.h:395
int_fast16_t PowerLPF3_startAFOSC_veneer(PowerLPF3_AfoscFreq frequency)
Power manager interface for CC27XX.
void Power_reset_veneer(void)
void PowerLPF3_stopAFOSC_veneer(void)
PowerLPF3_ResetReason PowerLPF3_getResetReason_veneer(void)
int_fast16_t Power_getDependencyCount_veneer(Power_Resource resourceId)
© Copyright 1995-2025, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale