This Function is provided to set or reset AFSEL register
if enable == 1 ---> set AFSEL and set the corresponding 4 bits in the PCTL register using pctl_mask
if enable == 0 ---> reset AFSEL and reset the corresponding 4 bits in the PCTL register
set CR using pins_mask
This Function is provided to set or reset AFSEL register
if enable == 1 ---> set AFSEL and set the corresponding 4 bits in the PCTL register using pctl_mask
if enable == 0 ---> reset AFSEL and reset the corresponding 4 bits in the PCTL register
set CR using pins_mask