Home
last modified time | relevance | path

Searched refs:alm_weekday (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/counter/
Drtc_mcp7940n.c177 alm_regs->alm_weekday.weekday = time_buffer->tm_wday; in encode_alarm()
354 read_register(dev, alarm_reg_address, (uint8_t *)&alm_regs->alm_weekday); in mcp7940n_handle_interrupt()
356 if (alm_regs->alm_weekday.alm_if) { in mcp7940n_handle_interrupt()
358 alm_regs->alm_weekday.alm_if = 0; in mcp7940n_handle_interrupt()
360 *((uint8_t *)(&alm_regs->alm_weekday))); in mcp7940n_handle_interrupt()
535 alm_regs->alm_weekday.alm_msk = MCP7940N_ALARM_TRIGGER_ALL; in mcp7940n_counter_set_alarm()
612 (uint8_t *)&data->alm0_registers.alm_weekday); in mcp7940n_counter_get_pending_int()
617 if (data->alm0_registers.alm_weekday.alm_if) { in mcp7940n_counter_get_pending_int()
619 data->alm0_registers.alm_weekday.alm_if = 0; in mcp7940n_counter_get_pending_int()
621 *((uint8_t *)(&data->alm0_registers.alm_weekday))); in mcp7940n_counter_get_pending_int()
[all …]
/Zephyr-latest/include/zephyr/drivers/rtc/
Dmcp7940n.h127 struct mcp7940n_alm_weekday alm_weekday; member