Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/counter/
Drtc_mcp7940n.c84 time.tm_sec = RTC_BCD_DECODE(data->registers.rtc_sec.sec); in decode_rtc()
126 data->registers.rtc_sec.start_osc = 1; in encode_rtc()
128 data->registers.rtc_sec.sec_one = time_buffer->tm_sec % 10; in encode_rtc()
129 data->registers.rtc_sec.sec_ten = time_buffer->tm_sec / 10; in encode_rtc()
440 data->registers.rtc_sec.start_osc = 1; in mcp7940n_counter_start()
442 *((uint8_t *)(&data->registers.rtc_sec))); in mcp7940n_counter_start()
457 data->registers.rtc_sec.start_osc = 0; in mcp7940n_counter_stop()
459 *((uint8_t *)(&data->registers.rtc_sec))); in mcp7940n_counter_stop()
/Zephyr-latest/include/zephyr/drivers/rtc/
Dmcp7940n.h112 struct mcp7940n_rtc_sec rtc_sec; member