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!

Parents
  • I've put a "sbit RTC_interrupt_Enable 0xEF"
    whr hv u pt it ?

    But it's work very well with the Global Interrupt Enable
    u nt 2 st sm pl ?

    I try tyo keep your style. Since you do not want to be bothered with typing unnecessary characters i leave it to you to decode and answer the questions above

    Erik

Reply
  • I've put a "sbit RTC_interrupt_Enable 0xEF"
    whr hv u pt it ?

    But it's work very well with the Global Interrupt Enable
    u nt 2 st sm pl ?

    I try tyo keep your style. Since you do not want to be bothered with typing unnecessary characters i leave it to you to decode and answer the questions above

    Erik

Children
No data