Hi,
I'm trying to close the battery switch in the RF430FRL152H but the program stop. I have written this code for make it:
RFPMMCTL0 = PMMPW; //Unlock RFPMM
RFPMMCTL0 |= RFPMM_EN_BATSWITCH; //Enable the battery switch
RFPMMCTL0_H |= 0xFF; //Lock RFPMM
Thanks in advance.