iLLD_TC29x  1.0
IfxScuWdt.c File Reference

SCU basic functionality. More...

#include "IfxScuWdt.h"
#include "Cpu/Std/IfxCpu.h"

Go to the source code of this file.

Macros

#define IFXSCUWDT_RESET_PASSWORD   (0x3CU)
 Reset password of watchdog module. More...
 

Functions

void IfxScuWdt_changeCpuWatchdogPassword (uint16 password, uint16 newPassword)
 SCUWDT API to change CPU Watchdog password. More...
 
void IfxScuWdt_changeCpuWatchdogReload (uint16 password, uint16 reload)
 SCUWDT API to change CPU Watchdog timer reload value. More...
 
void IfxScuWdt_changeSafetyWatchdogPassword (uint16 password, uint16 newPassword)
 SCUWDT API to change Safety Watchdog password. More...
 
void IfxScuWdt_changeSafetyWatchdogReload (uint16 password, uint16 reload)
 SCUWDT API to change Safety Watchdog timer reload value. More...
 
void IfxScuWdt_clearCpuEndinit (uint16 password)
 SCUWDT API to Clear ENDINIT bit provided by CPU WDT Hardware module. More...
 
void IfxScuWdt_clearSafetyEndinit (uint16 password)
 SCUWDT API to Clear ENDINIT bit provided by Safety WDT Hardware module. More...
 
void IfxScuWdt_disableCpuWatchdog (uint16 password)
 SCUWDT API to disable CPU Watchdog functionality. More...
 
void IfxScuWdt_disableSafetyWatchdog (uint16 password)
 SCUWDT API to disable Safety Watchdog functionality. More...
 
void IfxScuWdt_enableCpuWatchdog (uint16 password)
 SCUWDT API to enable CPU Watchdog functionality. More...
 
void IfxScuWdt_enableSafetyWatchdog (uint16 password)
 SCUWDT API to enable Safety Watchdog functionality. More...
 
uint16 IfxScuWdt_getCpuWatchdogPassword (void)
 SCUWDT API to fetch current password of CPU Watchdog module. More...
 
uint16 IfxScuWdt_getSafetyWatchdogPassword (void)
 SCUWDT API to fetch current password of Safety Watchdog module. More...
 
void IfxScuWdt_initConfig (IfxScuWdt_Config *config)
 SCUWDT API to initialize WDT configuration structure - Constructor This API initialize the ScuWdt configuration structure to default values, these default values are for software specific, not necessarily hardware reset values. User must use this API call before IfxScuWdt_Init API call. More...
 
void IfxScuWdt_initCpuWatchdog (Ifx_SCU_WDTCPU *wdt, const IfxScuWdt_Config *config)
 SCUWDT API to initialize an instance of WDT Driver which corresponds to CPU WDT Hardware module. More...
 
void IfxScuWdt_initSafetyWatchdog (Ifx_SCU_WDTS *wdt, const IfxScuWdt_Config *config)
 SCUWDT API to initialize an instance of WDT Driver which corresponds to Safety WDT Hardware module. More...
 
void IfxScuWdt_serviceCpuWatchdog (uint16 password)
 SCUWDT API to service CPU Watchdog functionality. More...
 
void IfxScuWdt_serviceSafetyWatchdog (uint16 password)
 SCUWDT API to service Safety Watchdog functionality. More...
 
void IfxScuWdt_setCpuEndinit (uint16 password)
 SCUWDT API to set ENDINIT bit provided by CPU WDT Hardware module. More...
 
void IfxScuWdt_setSafetyEndinit (uint16 password)
 SCUWDT API to Set ENDINIT bit provided by Safety WDT Hardware module. More...
 

Detailed Description

SCU basic functionality.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxScuWdt.c.

Macro Definition Documentation

#define IFXSCUWDT_RESET_PASSWORD   (0x3CU)

Reset password of watchdog module.

Definition at line 39 of file IfxScuWdt.c.

Referenced by IfxScuWdt_initConfig().