-
CONFIG_CLOCK_NPCX_APB3_PRESCALER
¶
APB3 prescaler
Type: int
Help¶
This sets the APB3 prescaler which changes the frequency of APB3_CLK.
APB3_CLK frequency = OSC_CLK / APB3_PRE. The APB3 prescaler allowed
value is from 1 to 10.
The generated frequency of APB3_CLK should comply with the following
requirements:
- The frequency of APB3_CLK must be set to:
12.5MHz <= APB3_CLK <= 50MHz.
- The frequency of APB3_CLK must be an integer division (including 1)
of the frequency of the Core clock.
Direct dependencies¶
SOC_FAMILY_NPCX
&& CLOCK_CONTROL
(Includes any dependencies from ifs and menus.)
Default¶
2
Kconfig definition¶
At <Zephyr>/drivers/clock_control/Kconfig.npcx:55
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:32
→ <Zephyr>/drivers/Kconfig:54
→ <Zephyr>/drivers/clock_control/Kconfig:43
Menu path: (Top) → Device Drivers → Hardware clock controller support
config CLOCK_NPCX_APB3_PRESCALER
int "APB3 prescaler"
range 1 10
default 2
depends on SOC_FAMILY_NPCX && CLOCK_CONTROL
help
This sets the APB3 prescaler which changes the frequency of APB3_CLK.
APB3_CLK frequency = OSC_CLK / APB3_PRE. The APB3 prescaler allowed
value is from 1 to 10.
The generated frequency of APB3_CLK should comply with the following
requirements:
- The frequency of APB3_CLK must be set to:
12.5MHz <= APB3_CLK <= 50MHz.
- The frequency of APB3_CLK must be an integer division (including 1)
of the frequency of the Core clock.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)