11 REAL-TIME CLOCK SERVICE
This chapter describes how to use the real-time clock service within the
system services library to enable the features of the real-time clock on
Blackfin processors. The application programming interface (API)
described in this chapter allows real-time clock events to be scheduled and
serviced in a manner consistent with the other system services.
This chapter contains the fo llowing sections:
•
"Introduction" on page 11-1
•
"Operation" on page 11-2
•
"Real-Time Clock Service API Data Types and Enumerations" on
page 11-28
•
"Interdependencies" on page 11-31
Introduction
The real-time clock service provides an easy-to-use interface to the
real-time clock that is available on most Blackfin processors. In addition
to the reading and writing of the date and time, the service allows an
application to coordinate eight different real-time clock events in a consis-
tent manner, regardless of the processor derivative. There are five periodic
events that can be enabled to occur each second, each minute, each hour,
each day at midnight, and each day at a specific time. There is an alarm
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
11-1
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?