 |
TLE986x Device Family SDK
|
Go to the documentation of this file.
137 #include "scu_defines.h"
144 #define PASSWD_Open (0x98U)
146 #define PASSWD_Close (0xA8U)
149 #define NVM_DATA_WRITE (0U)
151 #define NVM_CODE_WRITE (1U)
153 #define NVM_DATA_READ (2U)
155 #define NVM_CODE_READ (3U)
158 #define PROTECTION_CLEAR (1U)
160 #define PROTECTION_SET (0U)
163 #define SLOWDOWN_PRESCALER_1 (0U)
164 #define SLOWDOWN_PRESCALER_2 (1U)
165 #define SLOWDOWN_PRESCALER_3 (2U)
166 #define SLOWDOWN_PRESCALER_4 (3U)
167 #define SLOWDOWN_PRESCALER_8 (4U)
168 #define SLOWDOWN_PRESCALER_16 (5U)
169 #define SLOWDOWN_PRESCALER_24 (6U)
170 #define SLOWDOWN_PRESCALER_32 (7U)
171 #define SLOWDOWN_PRESCALER_48 (8U)
172 #define SLOWDOWN_PRESCALER_64 (9U)
173 #define SLOWDOWN_PRESCALER_96 (10U)
174 #define SLOWDOWN_PRESCALER_128 (11U)
175 #define SLOWDOWN_PRESCALER_192 (12U)
176 #define SLOWDOWN_PRESCALER_256 (13U)
177 #define SLOWDOWN_PRESCALER_384 (14U)
178 #define SLOWDOWN_PRESCALER_512 (15U)
#define SCU_WDTCON_WDTEN_Pos
Definition: tle986x.h:9228
General type declarations.
INLINE void SCU_Enable_Module(TScu_Mod Module)
Enables a given peripheral module in the Peripheral Management Control Registers.
Definition: scu.h:441
INLINE void SCU_OpenPASSWD(void)
Opens the bit protection by writing PASSWD_Open to the Bit Protection Register.
Definition: scu.h:469
bool SCU_ChangeNVMProtection(uint32 mode, uint32 action)
Sets the Write/Read Protection for the Code/Data Flash.
INLINE void SCU_Disable_Module(TScu_Mod Module)
Disables a given peripheral module in the Peripheral Management Control Registers.
Definition: scu.h:411
SFR low level access library.
INLINE void Field_Wrt8all(volatile uint8 *reg, uint8 val)
This function writes an 8-bit register directly, no mask/position needed.
Definition: sfr_access.h:326
#define INLINE
Definition: types.h:134
INLINE void Field_Mod8(volatile uint8 *reg, uint8 pos, uint8 msk, uint8 val)
This function writes a bit field in a 8-bit register.
Definition: sfr_access.h:346
INLINE void SCU_WDT_Stop(void)
Stops the Watchdog of SCU-DM in the Watchdog Timer Control Register The written bit is protected by t...
Definition: scu.h:372
#define PASSWD_Close
PASSWD Phrases, PASSWD Closed.
Definition: scu.h:142
void SCU_ExitSlowMode(void)
Gets the device out of Slow Mode.
void SCU_Init(void)
Initializes the SCU module.
unsigned char uint8
8 bit unsigned value
Definition: types.h:139
INLINE void SCU_WDT_Service(void)
Services the Watchdog of SCU-DM in the Watchdog Timer Control Register.
Definition: scu.h:392
#define SCU_WDTCON_WDTEN_Msk
Definition: tle986x.h:9229
#define SCU_WDTCON_WDTRS_Msk
Definition: tle986x.h:9231
unsigned int uint32
32 bit unsigned value
Definition: types.h:141
INLINE void SCU_ClosePASSWD(void)
Closes the bit protection by writing PASSWD_Close to the Bit Protection Register.
Definition: scu.h:486
INLINE void SCU_WDT_Start(void)
Starts the Watchdog of SCU-DM in the Watchdog Timer Control Register The written bit is protected by ...
Definition: scu.h:352
TScu_Mod
This enum lists the SCU Modules Configuration.
Definition: scu.h:182
CMSIS register HeaderFile.
void SCU_EnterSlowMode(uint8 divider_scaled)
Sets the device into Slow Down Mode.
#define SCU
Definition: tle986x.h:6004
#define SCU_WDTCON_WDTRS_Pos
Definition: tle986x.h:9230
void SCU_EnterSleepMode(void)
Sets the device into Sleep Mode.
void SCU_EnterStopMode(void)
Sets the device into Stop Mode.
void SCU_ClkInit(void)
Initializes the system clocks.
#define PASSWD_Open
PASSWD Phrases, PASSWD Opened.
Definition: scu.h:140