| ??? 05/09/06 05:43 Read: times |
#115841 - I used the Code Architect....Erik Sir, Responding to: ???'s previous message |
Sorry for the delay in my response.
The RTC.C code that is generated using the code architect is as follows: void rtc_init(void) { // set reload value // count frequency = clock source / 128 / RTCH, RTCL RTCH = 0x0A; RTCL = 0x00; // select CPU Clock, enable interrupt source RTCCON = 0x62; // initialize watchdog/real time clock interrupt //watchdogrtc_isrinit(); // start real time clock RTCCON |= 0x01; } void rtc_start(void) { // start the real time clock RTCCON |= 0x01; } void rtc_stop(void) { // stop the real time clock RTCCON &= ~0x01; } Here, please tell me how to define the RTC registers used in the code (RTCH, RTCL, RTCCON...) for the C8051F120 MCU. |
| Topic | Author | Date |
| How to enable the oscillator in RTC? | 01/01/70 00:00 | |
| I2C Code | 01/01/70 00:00 | |
| SMBus include SCL and SDA lines | 01/01/70 00:00 | |
| derivative or deviate? | 01/01/70 00:00 | |
| I2C RTC | 01/01/70 00:00 | |
| be careful | 01/01/70 00:00 | |
| I2C program and controller | 01/01/70 00:00 | |
| since you are using a derivative (F120) | 01/01/70 00:00 | |
| I used the Code Architect....Erik Sir, | 01/01/70 00:00 | |
| Lost in confusion. | 01/01/70 00:00 | |
| the confooosion is ... | 01/01/70 00:00 | |
| To display time | 01/01/70 00:00 | |
| is reading that tough, evidently it must | 01/01/70 00:00 | |
| I2C RTC Interfacing with 8051 | 01/01/70 00:00 | |
| horsefeathers | 01/01/70 00:00 | |
| My position in this I2C RTC.... | 01/01/70 00:00 | |
| yes, after 15 minutes | 01/01/70 00:00 | |
| Three issues | 01/01/70 00:00 | |
| yes,after 15 minutes... | 01/01/70 00:00 | |
| More specifically.... | 01/01/70 00:00 | |
| use the debugger | 01/01/70 00:00 | |
| Thank you ... | 01/01/70 00:00 | |
Persistance wins again | 01/01/70 00:00 |



