17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

tc_alarm_read( )<br />

Syntax:<br />

Parameters:<br />

Returns:<br />

Function:<br />

Availability:<br />

Requires:<br />

Examples:<br />

Example Files:<br />

Also See:<br />

rtc_alarm_read(&datetime);<br />

datetime- A structure that will contain the values to be written to the alarm<br />

in the RTCC module.<br />

Structure used in read and write functions are defined in the device<br />

header file<br />

as rtc_time_t<br />

void<br />

Reads the date and time from the alarm in the RTCC module to structure<br />

datetime.<br />

Devices that have the RTCC module.<br />

Nothing.<br />

rtc_alarm_read(&datetime);<br />

None<br />

rtc_read(), rtc_alarm_read(), rtc_alarm_write(), setup_rtc_alarm(),<br />

rtc_write(), setup_rtc()<br />

rtc_alarm_write( )<br />

Syntax:<br />

Parameters:<br />

rtc_alarm_write(&datetime);<br />

datetime- A structure that will contain the values to be written to the<br />

alarm in the RTCC module.<br />

Structure used in read and write functions are defined in the device<br />

header file as rtc_time_t.<br />

Returns:<br />

Function:<br />

Availability:<br />

Requires:<br />

void<br />

Writes the date and time to the alarm in the RTCC module as specified in<br />

the structure date time.<br />

Devices that have the RTCC module.<br />

Nothing.<br />

256

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!