#include "rtc.h"
#include "rtc_i.h"
Defines | |
#define | RTC_STATUSA 0x0a |
#define | RTCSA_TUP 0x80 |
#define | RTCSA_DIVIDER 0x20 |
#define | RTCSA_8192 0x03 |
#define | RTCSA_4096 0x04 |
#define | RTCSA_2048 0x05 |
#define | RTCSA_1024 0x06 |
#define | RTCSA_512 0x07 |
#define | RTCSA_256 0x08 |
#define | RTCSA_128 0x09 |
#define | RTCSA_64 0x0a |
#define | RTCSA_32 0x0b |
#define | RTC_STATUSB 0x0b |
#define | RTCSB_DST 0x01 |
#define | RTCSB_24HR 0x02 |
#define | RTCSB_BCD 0x04 |
#define | RTCSB_SQWE 0x08 |
#define | RTCSB_UINTR 0x10 |
#define | RTCSB_AINTR 0x20 |
#define | RTCSB_PINTR 0x40 |
#define | RTCSB_HALT 0x80 |
#define | RTC_INTR 0x0c |
#define | RTCIR_UPDATE 0x10 |
#define | RTCIR_ALARM 0x20 |
#define | RTCIR_PERIOD 0x40 |
#define | RTCIR_INT 0x80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|