Blame | Last modification | View Log | Download | RSS feed
ifndef __stm8lclk01inc ; avoid multiple inclusion__stm8lclk01inc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File CLK01.INC *;* *;* contains SFR and Bit Definitions for STM8Lx01 CLK Controller *;* *;****************************************************************************__defclk01 macro BaseCLK_CKDIVR label Base+$00 ; Clock master divider registerHSIDIV bfield CLK_CKDIVR,0,2 ; High speed internal clock prescalerCLK_PCKENR label Base+$03 ; Peripheral clock gating registerPCKEN bfield CLK_PCKENR1,0,8 ; Peripheral clock enableCLK_CCOR label Base+$05 ; Configurable clock control registerCCOSEL bfield CLK_CCOR,1,2 ; Configurable clock output selectionCCOEN bit CLK_CCOR,0 ; Configurable clock output enableendmrestoreendif ; __stm8lclk01inc