Blame | Last modification | View Log | Download | RSS feed
ifndef __stm8trstinc ; avoid multiple inclusion__stm8trstinc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File RST.INC *;* *;* contains SFR and Bit Definitions for STM8T Reset Controller *;* *;* Source: RM0312 (DocID022352 Rev 3) *;* *;****************************************************************************__defrst macro BaseRST_CR label Base+$00 ; Reset control registerRSTPIN_KEY bfield RST_CR,0,8 ; Reset pin configuration keyRST_SR label Base+$01 ; Reset status registerWWDGF bit RST_SR,4 ; Window Watchdog reset flagSWIMF bit RST_SR,3 ; SWIM reset flagILLOPF bit RST_SR,2 ; Illegal opcode reset flagIWDGF bit RST_SR,1 ; Independent Watchdog reset flagPORF bit RST_SR,0 ; Power-on Reset (POR) flagendmrestoreendif ; __stm8lrst01inc