zephyr/tests/drivers/counter/counter_basic_api
Dawid Niedzwiecki 49f9aa7d12 counter: stm32 rtc: handle sub second registers
Add support for using the sub second registers. It allows reading and
setting alarm with the sub second tick resolution.

The RTC module is configured to get as high frequency as possible, which
equals the source clock (RTCCLK) divided by 2. To get such frequency,
the asynchronous prescaler is set to 1.

According to RM, setting the asynchronous prescaler to a high value
minimize consumption, so the change increase the power consumption.

Use a config to enable the sub second support.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2023-09-26 15:05:35 +02:00
..
boards tests: drivers: counter: add esp32s3_luatos_core 2023-09-22 15:58:11 +02:00
src tests: counter: counter_basic_api: Add support for rpi_pico boards 2023-09-13 16:18:44 +02:00
CMakeLists.txt
prj.conf
testcase.yaml counter: stm32 rtc: handle sub second registers 2023-09-26 15:05:35 +02:00
zli.conf