Changeset 7ae2775 in rtems for c/src/lib/libbsp/arm/lpc24xx/rtc


Ignore:
Timestamp:
Jul 17, 2009, 1:53:04 PM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 5, master
Children:
ec5d4505
Parents:
9832a22
Message:

ARM bsp maintenance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc24xx/rtc/rtc-config.c

    r9832a22 r7ae2775  
    2222
    2323#include <bsp/lpc24xx.h>
     24#include <bsp/io.h>
    2425
    2526#define LPC24XX_RTC_NUMBER 1
     
    2728static void lpc24xx_rtc_initialize( int minor)
    2829{
     30  rtems_interrupt_level level;
     31
     32  /* Enable module power */
     33  lpc24xx_module_enable( LPC24XX_MODULE_RTC, 0, LPC24XX_MODULE_PCLK_DEFAULT);
     34
    2935  /* Enable the RTC and use external clock */
    3036  RTC_CCR = RTC_CCR_CLKEN | RTC_CCR_CLKSRC;
Note: See TracChangeset for help on using the changeset viewer.