Real%20Time%20Clock%20Driver - PowerPoint PPT Presentation

About This Presentation
Title:

Real%20Time%20Clock%20Driver

Description:

Real Time Clock Driver Real-Time Clock APIs Support DS1305 from Dallas Semiconductor BSP Hook up APIs RTC_CCODE rtcInitialize(void) RTC_CCODE rtcSet(rtcDataType *rtc ... – PowerPoint PPT presentation

Number of Views:71
Avg rating:3.0/5.0
Slides: 6
Provided by: amas153
Category:

less

Transcript and Presenter's Notes

Title: Real%20Time%20Clock%20Driver


1
Real Time Clock Driver
2
Real-Time Clock
  • APIs
  • Support DS1305 from Dallas Semiconductor
  • BSP Hook up

3
APIs
  • RTC_CCODE rtcInitialize(void)
  • RTC_CCODE rtcSet(rtcDataType rtc)
  • RTC_CCODE rtcGet(rtcDataType rtc)
  • RTC_CCODE NAinstallRealTimeClockTime(rtcDataType
    current_time)
  • Note current_time is GMT

4
Supported Chip
  • DS1305 from Dallas Semiconductor
  • In bsp.h
  • define BSP_INCLUDE_RTC_DRIVER 0

5
BSP Hook up
  • In bsp\common\bsproot.c, setupTime()
  • Need to change defaultTime in function
    setupTime()
Write a Comment
User Comments (0)
About PowerShow.com