Blame | Last modification | View Log | Download | RSS feed
ifndef __stm8siwdginc ; avoid multiple inclusion__stm8siwdginc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File IWDG.INC *;* *;* contains SFR and Bit Definitions for STM8S Independent Watchdog *;* *;****************************************************************************__defiwdg macro BaseIWDG_KR label Base+$00 ; IWDG key registerIWDG_KEY bfield IWDG_KR,0,8 ; Key valueIWDG_PR label Base+$01 ; IWDG prescaler registerIWDG__PR bfield IWDG_PR,0,3 ; Prescaler dividerIWDG_RLR label Base+$02 ; IWDG reload registerIWDG_RL bfield IWDG_RLR,0,8 ; Watchdog counter reload valueendmrestoreendif ; __stm8siwdginc