PAN1080 Peripheral API
Macros | Typedefs | Enumerations | Functions
pan_wwdt.h File Reference

Panchip series wwdt driver header file. More...

Go to the source code of this file.

Macros

#define WWDT_RELOAD_WORD
 

Typedefs

typedef enum _WWDT_Prescale WWDT_PrescaleDef
 

Enumerations

enum  _WWDT_Prescale {
  WWDT_PRESCALER_1 , WWDT_PRESCALER_2 , WWDT_PRESCALER_4 , WWDT_PRESCALER_8 ,
  WWDT_PRESCALER_16 , WWDT_PRESCALER_32 , WWDT_PRESCALER_64 , WWDT_PRESCALER_128 ,
  WWDT_PRESCALER_192 , WWDT_PRESCALER_256 , WWDT_PRESCALER_384 , WWDT_PRESCALER_512 ,
  WWDT_PRESCALER_768 , WWDT_PRESCALER_1024 , WWDT_PRESCALER_1536 , WWDT_PRESCALER_2048
}
 

Functions

__STATIC_INLINE void WWDT_ClearResetFlag (void)
 This function clear WWDT time-out reset system flag. More...
 
__STATIC_INLINE void WWDT_ClearIntFlag (void)
 This function clear WWDT compare match interrupt flag. More...
 
__STATIC_INLINE void WWDT_ClearWWDTFFlag (void)
 This function clear WWDT compare match event flag. More...
 
__STATIC_INLINE bool WWDT_GetResetFlag (void)
 This function is use to get WWDT time-out reset system flag. More...
 
__STATIC_INLINE bool WWDT_GetIntFlag (void)
 This function is used to indicate WWDT compare match interrupt flag. More...
 
__STATIC_INLINE bool WWDT_GetWWDTFFlag (void)
 This function is used to indicate WWDT compare match event flag. More...
 
__STATIC_INLINE uint32_t WWDT_GetCounter (void)
 This function to reflects current WWDT counter value. More...
 
__STATIC_INLINE uint32_t WWDT_GetCompareValue (void)
 This function reflects current WWDT compare value (CMPDAT) More...
 
__STATIC_INLINE void WWDT_ReloadCounter (void)
 This function is used to reload the WWDT counter value to 0x3F. More...
 
void WWDT_Open (WWDT_PrescaleDef preScale, uint32_t u32CmpValue, uint32_t u32EnableInt)
 This function make WWDT module start counting with different counter period and compared window value. More...
 
void WWDT_Close (void)
 This function stops WWDT counting. More...
 

Detailed Description

Panchip series wwdt driver header file.

Version
V1.00
Revision
3
Date
21/11/12 18:33