NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

RTC_Public_Types

RTC_Public_Types
[RTC]

Data Structures

struct  RTC_TIME_Type
 Time structure definitions for easy manipulate the data. More...

Enumerations

enum  RTC_INT_OPT { RTC_INT_COUNTER_INCREASE = RTC_IRL_RTCCIF, RTC_INT_ALARM = RTC_IRL_RTCALF }
 

RTC interrupt source.

More...
enum  RTC_TIMETYPE_Num {
  RTC_TIMETYPE_SECOND = 0, RTC_TIMETYPE_MINUTE = 1, RTC_TIMETYPE_HOUR = 2, RTC_TIMETYPE_DAYOFWEEK = 3,
  RTC_TIMETYPE_DAYOFMONTH = 4, RTC_TIMETYPE_DAYOFYEAR = 5, RTC_TIMETYPE_MONTH = 6, RTC_TIMETYPE_YEAR = 7
}
 

RTC time type option.

More...

Enumeration Type Documentation

RTC interrupt source.

Enumerator:
RTC_INT_COUNTER_INCREASE 

Counter Increment Interrupt

RTC_INT_ALARM 

The alarm interrupt

Definition at line 212 of file lpc17xx_rtc.h.

RTC time type option.

Enumerator:
RTC_TIMETYPE_SECOND 

Second

RTC_TIMETYPE_MINUTE 

Month

RTC_TIMETYPE_HOUR 

Hour

RTC_TIMETYPE_DAYOFWEEK 

Day of week

RTC_TIMETYPE_DAYOFMONTH 

Day of month

RTC_TIMETYPE_DAYOFYEAR 

Day of year

RTC_TIMETYPE_MONTH 

Month

RTC_TIMETYPE_YEAR 

Year

Definition at line 221 of file lpc17xx_rtc.h.