Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stm32l1_clock.h File Reference

Go to the source code of this file.

Macros

#define STM32_CLOCK_BUS_AHB1   0x01c
 Bus gatting clocks.
 
#define STM32_CLOCK_BUS_APB2   0x020
 
#define STM32_CLOCK_BUS_APB1   0x024
 
#define STM32_PERIPH_BUS_MIN   STM32_CLOCK_BUS_AHB1
 
#define STM32_PERIPH_BUS_MAX   STM32_CLOCK_BUS_APB1
 
#define STM32_SRC_HSE   (STM32_SRC_LSI + 1)
 Domain clocks.
 
#define STM32_SRC_HSI   (STM32_SRC_HSE + 1)
 
#define CSR_REG   0x34
 RCC_CSR register offset.
 
#define RTC_SEL(val)
 

Macro Definition Documentation

◆ CSR_REG

#define CSR_REG   0x34

RCC_CSR register offset.

◆ RTC_SEL

#define RTC_SEL ( val)
Value:
#define STM32_DT_CLOCK_SELECT(val, mask, shift, reg)
Pack STM32 source clock selection RCC register bit fields for the DT.
Definition stm32_common_clocks.h:46
#define CSR_REG
RCC_CSR register offset.
Definition stm32l1_clock.h:30

◆ STM32_CLOCK_BUS_AHB1

#define STM32_CLOCK_BUS_AHB1   0x01c

Bus gatting clocks.

◆ STM32_CLOCK_BUS_APB1

#define STM32_CLOCK_BUS_APB1   0x024

◆ STM32_CLOCK_BUS_APB2

#define STM32_CLOCK_BUS_APB2   0x020

◆ STM32_PERIPH_BUS_MAX

#define STM32_PERIPH_BUS_MAX   STM32_CLOCK_BUS_APB1

◆ STM32_PERIPH_BUS_MIN

#define STM32_PERIPH_BUS_MIN   STM32_CLOCK_BUS_AHB1

◆ STM32_SRC_HSE

#define STM32_SRC_HSE   (STM32_SRC_LSI + 1)

Domain clocks.

System clock Fixed clocks

◆ STM32_SRC_HSI

#define STM32_SRC_HSI   (STM32_SRC_HSE + 1)