STM8L15x Standard Peripherals Drivers: CLK_Clock_Output_Prescaler

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

CLK_Clock_Output_Prescaler

Defines

#define IS_CLK_OUTPUT_DIVIDER(PRESCALER)

Enumerations

enum  CLK_CCODiv_TypeDef {
  CLK_CCODiv_1 = (uint8_t)0x00, CLK_CCODiv_2 = (uint8_t)0x20, CLK_CCODiv_4 = (uint8_t)0x40, CLK_CCODiv_8 = (uint8_t)0x60,
  CLK_CCODiv_16 = (uint8_t)0x80, CLK_CCODiv_32 = (uint8_t)0xA0, CLK_CCODiv_64 = (uint8_t)0xC0
}

Define Documentation

#define IS_CLK_OUTPUT_DIVIDER (   PRESCALER)
Value:
(((PRESCALER) == CLK_CCODiv_1)  ||\
                                          ((PRESCALER) == CLK_CCODiv_2)  ||\
                                          ((PRESCALER) == CLK_CCODiv_4)  ||\
                                          ((PRESCALER) == CLK_CCODiv_8)  ||\
                                          ((PRESCALER) == CLK_CCODiv_16) ||\
                                          ((PRESCALER) == CLK_CCODiv_32) ||\
                                          ((PRESCALER) == CLK_CCODiv_64))

Definition at line 127 of file stm8l15x_clk.h.

Referenced by CLK_CCOConfig().


Enumeration Type Documentation

Enumerator:
CLK_CCODiv_1 

Clock Output Div 1

CLK_CCODiv_2 

Clock Output Div 2

CLK_CCODiv_4 

Clock Output Div 4

CLK_CCODiv_8 

Clock Output Div 8

CLK_CCODiv_16 

Clock Output Div 16

CLK_CCODiv_32 

Clock Output Div 32

CLK_CCODiv_64 

Clock Output Div 64

Definition at line 117 of file stm8l15x_clk.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com