ACS ACR89U-A1 User Manual Page 22

  • Download
  • Add to my manuals
  • Print
  • Page
    / 78
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 21
ACR89U-A1 Application Programming Interface info@acs.com.hk
Version 1.01
www.acs.com.hk
Page 22 of 78
Returns:
BOOLEAN This function returns TRUE/FALSE of the state of successfully reading out time value
from external RTC.
4.5.2.6. EXRTC_Write_Date
This function sets decimal date value to external RTC.
[EXRTC.h]
BOOLEAN EXRTC_Write_Date (
UINT8 ucYear,
UINT8 ucMonth,
UINT8 ucWeekday,
UINT8 ucDay );
Parameters:
ucYear [in] Decimal value of year [0-99].
ucMonth [in] Decimal value of month [1-12].
ucWeekday [in] Decimal value of weekday [0-6].
ucDay [in] Decimal value of day [1-31].
Returns:
BOOLEAN This function returns TRUE/FALSE of the state of successfully setting date value to
external RTC.
4.5.2.7. EXRTC_Write_DateBCD
This function sets binary-coded decimal date value to external RTC.
[EXRTC.h]
BOOLEAN EXRTC_Write_DateBCD (
UINT8 ucYear,
UINT8 ucMonth,
UINT8 ucWeekday,
UINT8 ucDay );
Parameters:
ucYear [in] BCD value of year [0x00h-0x99h].
ucMonth [in] BCD value of month [0x01h-0x12h].
ucWeekday [in] BCD value of weekday [0x00h-0x06h].
ucDay [in] BCD value of day [0x01h-0x31h].
Returns:
BOOLEAN This function returns TRUE/FALSE of the state of successfully setting date value to
external RTC.
4.5.2.8. EXRTC_Read_Date
This function reads out date value from external RTC. The format of output data is BCD.
Page view 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 77 78

Comments to this Manuals

No comments