Hi, Sorry for the inconvenience. There is a bug in the RTC_C_disableInterrupt API. This should get fixed in the next driverlib version. In the meantime you could change this API (in rtc_c.c) to: void RTC_C_disableInterrupt(uint8_t interruptMask) { if (interruptMask & (RTC_C_CTL0_OFIE + RTC_C_CTL0_TEVIE + RTC_C_CTL0_AIE + RTC_C_CTL0_RDYIE)) { RTC_C->CTL0 = RTC_C_KEY | ((RTC_C->CTL0 & 0x00FF) & ~((interruptMask | RTC_C_CTL0_KEY_MASK) & (RTC_C_CTL0_OFIE + RTC_C_CTL0_TEVIE + RTC_C_CTL0_AIE + RTC_C_CTL0_RDYIE))); BITBAND_PERI(RTC_C->CTL0, RTC_C_CTL0_KEY_OFS) = 0; } if (interruptMask & RTC_C_PRESCALE_TIMER0_INTERRUPT) { BITBAND_PERI(RTC_C->PS0CTL, RTC_C_PS0CTL_RT0PSIE_OFS) = 0; } if (interruptMask & RTC_C_PRESCALE_TIMER1_INTERRUPT) { BITBAND_PERI(RTC_C->PS1CTL, RTC_C_PS1CTL_RT1PSIE_OFS) = 0; } } Please make sure that you re-build your msp432p4xx_driverlib.lib after you change this file and then you will need to use RTC_C_disableInterrupt instead of MAP_RTC_C_disableInterrupt. Thanks, David
↧