Example

Assume that you have a processor which has a PWMA channel and it is required to set three bits (0,1,5) in the PWMA_PMCTL to 1. Use the following line:


  setRegBits(PWMA_PMCTL,35); /* Run counter */