This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

st,stm32-hse-clock

Vendor: STMicroelectronics

Description

STM32 HSE Clock

Properties

Properties not inherited from the base binding file.

Name

Type

Details

hse-bypass

boolean

HSE crystal oscillator bypass
Set to the property to by-pass the oscillator with an external clock.

css-enabled

boolean

HSE clock security system enabled
Set the property to enable the clock security system (CSS) for the HSE clock.

If a failure is detected on the HSE clock, the HSE oscillator is automatically disabled,
a clock failure event is sent to timers, and a non-maskable interrupt is generated to
inform the software about the failure, allowing the MCU to perform rescue operations.
See the MCU reference manual for details.

The interaction of CSS and low-power modes is unclear from the documentation.
For at least some devices Zephyr will reconfigure the clocks on resuming from low-power
modes; this will include re-enabling CSS. However it is important that you verify
this for your own hardware.

clock-frequency

int

output clock frequency (Hz)

This property is required.

#clock-cells

int

Number of items to expect in a Clock specifier

This property is required.