Home
last modified time | relevance | path

Searched full:alarms (Results 1 – 25 of 113) sorted by relevance

12345

/Zephyr-latest/dts/bindings/rtc/
Drtc-device.yaml9 alarms-count:
13 Number of alarms supported by RTC device. The number of
14 alarms defaults to 0, which indicates that the RTC has
15 no alarms.
Dst,stm32-rtc.yaml25 alarms-count:
27 Number of alarms supported by STM32 RTC device.
28 Most of STM32 MCU series have 2 RTC alarms, A & B.
/Zephyr-latest/drivers/rtc/
Drtc_emul.c40 struct rtc_emul_alarm *alarms; member
151 alarm = &data->alarms[i]; in rtc_emul_test_alarms()
321 data->alarms[id].mask = mask; in rtc_emul_alarm_set_time()
324 data->alarms[id].datetime = *timeptr; in rtc_emul_alarm_set_time()
342 *timeptr = data->alarms[id].datetime; in rtc_emul_alarm_get_time()
343 *mask = data->alarms[id].mask; in rtc_emul_alarm_get_time()
360 ret = (data->alarms[id].pending == true) ? 1 : 0; in rtc_emul_alarm_is_pending()
362 data->alarms[id].pending = false; in rtc_emul_alarm_is_pending()
379 data->alarms[id].callback = callback; in rtc_emul_alarm_set_callback()
380 data->alarms[id].user_data = user_data; in rtc_emul_alarm_set_callback()
[all …]
Drtc_ll_stm32.h12 /* STM32 RTC alarms, A & B, LL masks are equal */
DKconfig24 This is an option which enables driver support for RTC alarms.
Drtc_pcf8563.c28 /* The user may need only alarms but not interrupts so we will only
337 * There are several kinds of alarms, but here we only need to know that anything but 0 in pcf8563_alarm_is_pending()
360 LOG_ERR("Error when clearing alarms: %d", err); in pcf8563_alarm_is_pending()
366 /* No alarms */ in pcf8563_alarm_is_pending()
/Zephyr-latest/doc/hardware/peripherals/
Drtc.rst29 RTCs usually contain one or more alarms which can be configured to
30 trigger at a given time. These alarms are commonly used to wake up the
74 * Alarms if supported by hardware, with and without callback enabled
82 for testing. To test the optional alarms, update event callback
139 * RTC alarms are not persistent across application initialization.
142 Every time an application is initialized, the RTC's time and alarms are reset. Reading
/Zephyr-latest/tests/drivers/rtc/rtc_api/
DKconfig14 RTC alarms during testing.
/Zephyr-latest/include/zephyr/drivers/rtc/
Dmaxim_ds3231.h14 * crystal oscillator and support for configurable alarms.
24 * channel 0 supports alarms at 1 s resolution, while channel 1
25 * supports alarms at 1 minute resolution.
106 * indicating which alarms are ready.
114 * indicating which alarms are ready.
152 * If set the alarm minutes field is ignored and alarms will be
166 * If set the alarm hours field is ignored and alarms will be
253 * DS3231 alarms can be set to fire at specific times or at the
260 * is present, alarms can be read using maxim_ds3231_check_alarms().
277 /** @brief Handler to be invoked when alarms are signalled.
[all …]
/Zephyr-latest/samples/drivers/counter/maxim_ds3231/
DREADME.rst12 and supports alarms. The `Chronodot`_ breakout board can be used to
78 We're now 2.131 ms into the run, at which point the alarms are read back
79 and displayed. Alarms do not include date but can include day-of-week
82 2131 ms in: get alarms: 0 0
/Zephyr-latest/boards/shields/adafruit_adalogger_featherwing/
Dadafruit_adalogger_featherwing.overlay37 alarms-count = <1>;
/Zephyr-latest/boards/shields/adafruit_data_logger/
Dadafruit_data_logger.overlay58 alarms-count = <1>;
/Zephyr-latest/tests/drivers/build_all/rtc/
Di2c_devices.overlay38 alarms-count = <1>;
/Zephyr-latest/dts/x86/intel/
Datom.dtsi86 alarms-count = <1>;
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/
Dtest_alarm.c109 /* Validate alarms supported fields */ in ZTEST()
207 /* Disable and clear alarms */ in ZTEST()
Dtest_alarm_callback.c149 /* Disable and clear alarms */ in ZTEST()
/Zephyr-latest/include/zephyr/drivers/timer/
Dnrf_rtc_timer.h206 * performed when there are no active alarms set. It should be used for testing
210 * @retval -EBUSY if there are active alarms.
/Zephyr-latest/boards/raspberrypi/rpi_pico2/doc/
Dindex.rst23 - 2 Timer with 4 alarms, 1 AON Timer
/Zephyr-latest/drivers/counter/
Dcounter_mchp_xec.c20 * compare values for interrupts. When setting single shot alarms,
122 * So only relative alarms are supported. in counter_xec_set_alarm()
Dcounter_nxp_mrt.c188 LOG_ERR("MRT does not support alarms"); in nxp_mrt_set_alarm()
197 LOG_ERR("MRT does not support alarms"); in nxp_mrt_cancel_alarm()
/Zephyr-latest/tests/drivers/counter/maxim_ds3231_api/src/
Dtest_counter.c359 * Two alarms set. First alarm is absolute, second relative. Because
360 * setting of both alarms is delayed it is expected that second alarm
391 /* Counter does not support two alarms */ in test_multiple_alarms_instance()
467 * rollover so both alarms can be tested. in test_all_channels_instance()
/Zephyr-latest/tests/cmake/hwm/board_extend/oot_root/boards/native/native_sim_extend/
Dnative_sim_native_one.dts207 alarms-count = <2>;
/Zephyr-latest/boards/native/native_sim/
Dnative_sim.dts218 alarms-count = <2>;
/Zephyr-latest/dts/arm/atmel/
Dsam3x.dtsi263 alarms-count = <1>;
Dsam4s.dtsi256 alarms-count = <1>;

12345