iLLD_TC29x  1.0
IfxScuWdt.h File Reference

SCU basic functionality. More...

#include "_Impl/IfxScu_cfg.h"
#include "Cpu/Std/Ifx_Types.h"
#include "IfxScu_reg.h"
#include "IfxScuWdt.asm.h"

Go to the source code of this file.

Data Structures

struct  IfxScuWdt_Config
 Configuration structure for Scu Watchdog. IfxScuWdt_Config is a type describing configuration structure of CPU and Safety WDT registers defined in IfxScuWdt.h file. More...
 

Functions

IFX_EXTERN 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...
 
IFX_EXTERN 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...
 
IFX_EXTERN 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...
 
IFX_INLINE void IfxScuWdt_clearCpuEndinitInline (Ifx_SCU_WDTCPU *watchdog, uint16 password)
 SCUWDT Inline API to Clear ENDINIT bit provided by CPU WDT Hardware module. More...
 
IFX_INLINE void IfxScuWdt_clearSafetyEndinitInline (uint16 password)
 SCUWDT Inline API to Clear ENDINIT bit provided by Safety WDT Hardware module. More...
 
IFX_INLINE void IfxScuWdt_setCpuEndinitInline (Ifx_SCU_WDTCPU *watchdog, uint16 password)
 SCUWDT Inline API to Set ENDINIT bit provided by CPU WDT Hardware module. More...
 
IFX_INLINE void IfxScuWdt_setSafetyEndinitInline (uint16 password)
 SCUWDT Inline API to Set ENDINIT bit provided by Safety WDT Hardware module. More...
 
IFX_EXTERN void IfxScuWdt_clearCpuEndinit (uint16 password)
 SCUWDT API to Clear ENDINIT bit provided by CPU WDT Hardware module. More...
 
IFX_EXTERN void IfxScuWdt_clearSafetyEndinit (uint16 password)
 SCUWDT API to Clear ENDINIT bit provided by Safety WDT Hardware module. More...
 
IFX_EXTERN void IfxScuWdt_setCpuEndinit (uint16 password)
 SCUWDT API to set ENDINIT bit provided by CPU WDT Hardware module. More...
 
IFX_EXTERN void IfxScuWdt_setSafetyEndinit (uint16 password)
 SCUWDT API to Set ENDINIT bit provided by Safety WDT Hardware module. More...
 
IFX_INLINE uint16 IfxScuWdt_getCpuWatchdogPasswordInline (Ifx_SCU_WDTCPU *watchdog)
 SCUWDT Inline API to fetch current password of CPU Watchdog module. More...
 
IFX_INLINE boolean IfxScuWdt_getSafetyWatchdogEndInit (void)
 SCUWDT API to fetch current endinit of Safety/System Watchdog module. More...
 
IFX_INLINE uint16 IfxScuWdt_getSafetyWatchdogPasswordInline (void)
 SCUWDT Inline API to fetch current password of Safety Watchdog module. More...
 
IFX_EXTERN void IfxScuWdt_changeCpuWatchdogPassword (uint16 password, uint16 newPassword)
 SCUWDT API to change CPU Watchdog password. More...
 
IFX_EXTERN void IfxScuWdt_changeCpuWatchdogReload (uint16 password, uint16 reload)
 SCUWDT API to change CPU Watchdog timer reload value. More...
 
IFX_EXTERN void IfxScuWdt_changeSafetyWatchdogPassword (uint16 password, uint16 newPassword)
 SCUWDT API to change Safety Watchdog password. More...
 
IFX_EXTERN void IfxScuWdt_changeSafetyWatchdogReload (uint16 password, uint16 reload)
 SCUWDT API to change Safety Watchdog timer reload value. More...
 
IFX_EXTERN void IfxScuWdt_disableCpuWatchdog (uint16 password)
 SCUWDT API to disable CPU Watchdog functionality. More...
 
IFX_EXTERN void IfxScuWdt_disableSafetyWatchdog (uint16 password)
 SCUWDT API to disable Safety Watchdog functionality. More...
 
IFX_EXTERN void IfxScuWdt_enableCpuWatchdog (uint16 password)
 SCUWDT API to enable CPU Watchdog functionality. More...
 
IFX_EXTERN void IfxScuWdt_enableSafetyWatchdog (uint16 password)
 SCUWDT API to enable Safety Watchdog functionality. More...
 
IFX_EXTERN uint16 IfxScuWdt_getCpuWatchdogPassword (void)
 SCUWDT API to fetch current password of CPU Watchdog module. More...
 
IFX_EXTERN uint16 IfxScuWdt_getSafetyWatchdogPassword (void)
 SCUWDT API to fetch current password of Safety Watchdog module. More...
 
IFX_EXTERN void IfxScuWdt_serviceCpuWatchdog (uint16 password)
 SCUWDT API to service CPU Watchdog functionality. More...
 
IFX_EXTERN void IfxScuWdt_serviceSafetyWatchdog (uint16 password)
 SCUWDT API to service Safety Watchdog functionality. 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.

This file contains the APIs for SCU Watchdog and Endinit related functions.

Definition in file IfxScuWdt.h.


Data Structure Documentation

struct IfxScuWdt_Config

Configuration structure for Scu Watchdog. IfxScuWdt_Config is a type describing configuration structure of CPU and Safety WDT registers defined in IfxScuWdt.h file.

Definition at line 59 of file IfxScuWdt.h.

Data Fields
boolean clrInternalResetFlag Clear Internal Reset Flag.
boolean disableWatchdog Disable Request Control Bit.
boolean enableAutomaticPasswordChange Password Auto-sequence Request Bit.
boolean enableSmuRestriction Unlock Restriction Request Control Bit.
boolean enableTimerCheck Counter Check Request Bit.
boolean enableTimerCheckTolerance Timer Check Tolerance Request.
IfxScu_WDTCON1_IR inputFrequency input frequency of the WDT
uint16 password password for access to WDTxCON0 reg
uint16 reload WDT reload value.