Uppdated PWM Paeripheral to use same referncing style as UART.