rtc.h File Reference

Go to the source code of this file.

Data Structures

struct  RTC_CONTROL
struct  RTC_EVENT

Functions

void F_RtcPowerOnInit (void) LargeReentrant
void F_RtcSvc (void) LargeReentrant
INT8U F_RtcRead (INT8U) LargeReentrant
void F_RtcWrite (INT8U, INT8U) LargeReentrant
void F_RtcCurrentTimeSet (void) LargeReentrant
void F_RtcCurrentTimeShow (void) LargeReentrant
void F_RtcYearSet (INT8U) LargeReentrant
void F_RtcMonthSet (INT8U) LargeReentrant
void F_RtcDateSet (INT8U) LargeReentrant
void F_RtcHourSet (INT8U) LargeReentrant
void F_RtcMinuteSet (INT8U) LargeReentrant
void F_RtcSecondSet (INT8U) LargeReentrant
void F_RtcWeekDaySet (INT8U) LargeReentrant
void F_RtcYearRead (void) LargeReentrant
void F_RtcMonthRead (void) LargeReentrant
void F_RtcDateRead (void) LargeReentrant
void F_RtcHourRead (void) LargeReentrant
void F_RtcMinuteRead (void) LargeReentrant
void F_RtcSecondRead (void) LargeReentrant
void F_RtcWeekDayRead (void) LargeReentrant
INT8U F_RtcEventCheck (void) LargeReentrant
void F_RtcCommandSet (INT8U **pArgv, INT8U Argc) LargeReentrant

Variables

struct RTC_CONTROL RtcCtrl
struct RTC_EVENT RtcEvent


Function Documentation

void F_RtcCommandSet ( INT8U **  pArgv,
INT8U  Argc 
)

void F_RtcCurrentTimeSet ( void   ) 

void F_RtcCurrentTimeShow ( void   ) 

void F_RtcDateRead ( void   ) 

void F_RtcDateSet ( INT8U   ) 

Definition at line 248 of file rtc.c.

References RTC_EVENT::Data, RTC_EVENT::EventType, RTC_EVENT::HasEvent, RtcEvent, and RTC_EVENT::RwFlag.

Referenced by F_RtcCommandSet().

INT8U F_RtcEventCheck ( void   ) 

Definition at line 230 of file rtc.c.

References RTC_EVENT::HasEvent, and RtcEvent.

void F_RtcHourRead ( void   ) 

void F_RtcHourSet ( INT8U   ) 

Definition at line 255 of file rtc.c.

References RTC_EVENT::Data, RTC_EVENT::EventType, RTC_EVENT::HasEvent, RtcEvent, and RTC_EVENT::RwFlag.

Referenced by F_RtcCommandSet().

void F_RtcMinuteRead ( void   ) 

void F_RtcMinuteSet ( INT8U   ) 

Definition at line 262 of file rtc.c.

References RTC_EVENT::Data, RTC_EVENT::EventType, RTC_EVENT::HasEvent, RtcEvent, and RTC_EVENT::RwFlag.

Referenced by F_RtcCommandSet().

void F_RtcMonthRead ( void   ) 

void F_RtcMonthSet ( INT8U   ) 

Definition at line 241 of file rtc.c.

References RTC_EVENT::Data, RTC_EVENT::EventType, RTC_EVENT::HasEvent, RtcEvent, and RTC_EVENT::RwFlag.

Referenced by F_RtcCommandSet().

void F_RtcPowerOnInit ( void   ) 

INT8U F_RtcRead ( INT8U   ) 

Definition at line 325 of file rtc.c.

References RTC_EVENT::Data, RtcCe, RtcData, and RtcSclk.

Referenced by F_RtcCurrentTimeShow(), F_RtcPowerOnInit(), and F_RtcSvc().

void F_RtcSecondRead ( void   ) 

void F_RtcSecondSet ( INT8U   ) 

Definition at line 269 of file rtc.c.

References RTC_EVENT::Data, RTC_EVENT::EventType, RTC_EVENT::HasEvent, RtcEvent, and RTC_EVENT::RwFlag.

Referenced by F_RtcCommandSet().

void F_RtcSvc ( void   ) 

void F_RtcWeekDayRead ( void   ) 

void F_RtcWeekDaySet ( INT8U   ) 

Definition at line 276 of file rtc.c.

References RTC_EVENT::Data, RTC_EVENT::EventType, RTC_EVENT::HasEvent, RtcEvent, and RTC_EVENT::RwFlag.

Referenced by F_RtcCommandSet().

void F_RtcWrite ( INT8U  ,
INT8U   
)

Definition at line 501 of file rtc.c.

References RTC_EVENT::Data, RtcCe, RtcData, and RtcSclk.

Referenced by F_RtcCurrentTimeSet(), F_RtcPowerOnInit(), and F_RtcSvc().

void F_RtcYearRead ( void   ) 

void F_RtcYearSet ( INT8U   ) 

Definition at line 234 of file rtc.c.

References RTC_EVENT::Data, RTC_EVENT::EventType, RTC_EVENT::HasEvent, RtcEvent, and RTC_EVENT::RwFlag.

Referenced by F_RtcCommandSet().


Variable Documentation


Generated on Sat Aug 9 23:31:25 2008 for A Small Control System Using 8051 by  doxygen 1.5.6