Description: 7. RTC program design and circuit simulation using LPC2138 internal RTC real time clock display year, month, day, week and time. Definition 74HC595 chip select port, the switch port. Use PINSEL0, PINSEL1 register settings SPI pins EINT0 connection, using IO0DIR control port output register is set to initialize the SPI interface, set the master clock frequency, interface mode. Set the interrupt is edge-triggered mode, the falling edge trigger mode. Set all matches for the IRQ interrupt interrupt, IRQ enable service address, and then by enabling EINT3 allow IRQ interrupts, respectively, show the year, month, day, week, hours, minutes, seconds of data information.
To Search:
File list (Check if you may need any files):
RTC
...\CONFIG.H
...\HEAP.S
...\IRQ.S
...\LPC2138.H
...\Last Loaded RTC.DBK
...\RTC.DSN
...\RTC.Opt
...\RTC.PWI
...\RTC.Uv2
...\RTC.axf
...\RTC.hex
...\RTC.htm
...\RTC.lnp
...\RTC.map
...\RTC.plg
...\RTC.sct
...\RTC.tra
...\RTC_Opt.Bak
...\RTC_Target 1.dep
...\RTC_Uv2.Bak
...\STACK.S
...\Startup.lst
...\Startup.o
...\Startup.s
...\TARGET.C
...\TARGET.H
...\main.c
...\main.crf
...\main.d
...\main.i
...\main.o
...\main.txt