This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problems for writing in the IEN1 register

I'm trying to use the RTC_event of the PCD6001.
I've put a "sbit RTC_interrupt_Enable 0xEF" and when i try to set the RTC_interrupt_Enable to '1', the compilator say me that the variable is undefined, but as u see, i've defined it with the sbit command. But it's work very well with the Global Interrupt Enable, i set a "sbit" to adress it, and i can set it to one without any errors.
Whats the problems please ?
Thanks!

0