EDF - OnePIC MCU  v1.1.0
tagRTCC Struct Reference

Union to access rtcc registers. More...

#include <OnePIC_rtcc>

Data Fields

unsigned char sec: 7
unsigned char start: 1
unsigned char min: 7
unsigned char res1: 1
unsigned char hr: 6
unsigned char time12: 1
unsigned char res2: 1
unsigned char wkd: 3
unsigned char vbatEn: 1
unsigned char vbat: 1
unsigned char oscOn: 1
unsigned char res3: 2
unsigned char day: 6
unsigned char res4: 2
unsigned char mth: 5
unsigned char leapyear: 1
unsigned char res5: 2
unsigned char yr

Detailed Description

Union to access rtcc registers.


Field Documentation

day

day

Definition at line 115 of file OnePIC_rtcc.h.

hr

hour

Definition at line 107 of file OnePIC_rtcc.h.

leapyear

Definition at line 118 of file OnePIC_rtcc.h.

min

minutes

Definition at line 105 of file OnePIC_rtcc.h.

mth

month

Definition at line 117 of file OnePIC_rtcc.h.

enable external oscillator

Definition at line 113 of file OnePIC_rtcc.h.

first digit

Definition at line 106 of file OnePIC_rtcc.h.

second digit

Definition at line 109 of file OnePIC_rtcc.h.

3rd digit

Definition at line 114 of file OnePIC_rtcc.h.

4th digit

Definition at line 116 of file OnePIC_rtcc.h.

5th digit

Definition at line 119 of file OnePIC_rtcc.h.

sec

seconds

Definition at line 103 of file OnePIC_rtcc.h.

start flag

Definition at line 104 of file OnePIC_rtcc.h.

noon

Definition at line 108 of file OnePIC_rtcc.h.

battery

Definition at line 112 of file OnePIC_rtcc.h.

enable external battery

Definition at line 111 of file OnePIC_rtcc.h.

wkd

weekday

Definition at line 110 of file OnePIC_rtcc.h.

yr

year

Definition at line 120 of file OnePIC_rtcc.h.


The documentation for this struct was generated from the following file: