Blame | Last modification | View Log | Download | RSS feed
ifndef __stm8lrst01inc ; avoid multiple inclusion__stm8lrst01inc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File RST01.INC *;* *;* contains SFR and Bit Definitions for STM8Lx01 Reset Controller *;* *;****************************************************************************__defrst01 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 registerSWIMF 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