Lines Matching refs:cyhal_rtc_t
165 cy_rslt_t cyhal_rtc_init(cyhal_rtc_t *obj);
183 cy_rslt_t cyhal_rtc_init_cfg(cyhal_rtc_t *obj, const cyhal_rtc_configurator_t *cfg);
194 void cyhal_rtc_free(cyhal_rtc_t *obj);
201 bool cyhal_rtc_is_enabled(cyhal_rtc_t *obj);
209 cy_rslt_t cyhal_rtc_read(cyhal_rtc_t *obj, struct tm *time);
217 cy_rslt_t cyhal_rtc_write(cyhal_rtc_t *obj, const struct tm *time);
229 cy_rslt_t cyhal_rtc_write_direct(cyhal_rtc_t *obj, uint32_t sec, uint32_t min, uint32_t hour,
244 cy_rslt_t cyhal_rtc_set_dst(cyhal_rtc_t *obj, const cyhal_rtc_dst_t *start, const cyhal_rtc_dst_t *…
252 bool cyhal_rtc_is_dst(cyhal_rtc_t *obj);
264 cy_rslt_t cyhal_rtc_set_alarm(cyhal_rtc_t *obj, const struct tm *time, cyhal_alarm_active_t active);
277 cy_rslt_t cyhal_rtc_set_alarm_by_seconds(cyhal_rtc_t *obj, const uint32_t seconds);
287 void cyhal_rtc_register_callback(cyhal_rtc_t *obj, cyhal_rtc_event_callback_t callback, void *callb…
298 void cyhal_rtc_enable_event(cyhal_rtc_t *obj, cyhal_rtc_event_t event, uint8_t intr_priority, bool …