Kamcho Library 02.00.03
lib.kamcho.02.00.03.287
|
Go to the source code of this file.
Data Structures | |
struct | RTC_SFRS_t |
A structure to represent Special Function Registers for RTC. More... | |
Macros | |
#define | RTC_SFRS ((__IO RTC_SFRS_t *)(ASIC_16B_BASE + 0x801A)) |
The starting address of RTC SFRS. More... | |
#define | E_RTC_DIV_128 0 |
#define | E_RTC_DIV_2048 1 |
#define | E_RTC_DIV_32768 2 |
#define | E_RTC_DIV_524288 3 |
#define | E_RTC_TRIM_150K 0 |
#define | E_RTC_TRIM_200K 1 |
#define | E_RTC_TRIM_250K 2 |
#define | E_RTC_TRIM_350K 3 |
Functions | |
static __INLINE void | f_RTC_Div (uint8_t val) |
Set RTC clock divider. More... | |
static __INLINE void | f_RTC_Trim (uint8_t val) |
Set RTC trim value. More... | |
This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.
#define E_RTC_DIV_128 0 |
#define E_RTC_DIV_2048 1 |
#define E_RTC_DIV_32768 2 |
#define E_RTC_DIV_524288 3 |
#define E_RTC_TRIM_150K 0 |
#define E_RTC_TRIM_200K 1 |
#define E_RTC_TRIM_250K 2 |
#define E_RTC_TRIM_350K 3 |
#define RTC_SFRS ((__IO RTC_SFRS_t *)(ASIC_16B_BASE + 0x801A)) |
The starting address of RTC SFRS.
|
static |
Set RTC clock divider.
val | The enumeration of RTC clock divider. |
|
static |
Set RTC trim value.
val | The enumeration of RTC trim value. |