This is the chip specific include file for T32CM11 RTC Driver note that there is a common include file for this HAL module that contains the APIs (such as the init function) that should be used by the application. More...
#include "tr_hal_platform.h"
Go to the source code of this file.
Data Structures | |
struct | tr_hal_rtc_date |
convenience structs for use when passing around dates, times, or both More... | |
struct | tr_hal_rtc_time |
struct | tr_hal_rtc_date_time |
struct | RTC_REGISTERS_T |
the struct we use so we can address registers using field names More... | |
struct | tr_hal_rtc_settings_t |
Typedefs | |
typedef void(* | tr_hal_rtc_event_callback_t) (uint32_t event_bitmask, tr_hal_rtc_date_time current_date_time) |
Functions | |
RTC_REGISTERS_T * | tr_hal_rtc_get_register_address (void) |
tr_hal_status_t | tr_hal_rtc_speedup_for_testing (tr_hal_rtc_speedup_unit_t speedup_unit) |
uint32_t | convert_bcd_to_int (uint32_t register_value) |
uint32_t | convert_int_to_bcd (uint32_t int_value) |
This is the chip specific include file for T32CM11 RTC Driver note that there is a common include file for this HAL module that contains the APIs (such as the init function) that should be used by the application.
the RTC module keeps track of 6 time units: seconds, minutes, hours, days, months, and years.
The RTC module also supports events (interrupts) triggered on time units There are 3 types of events (interrupts) that can be set for these time units:
SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com