finished pwm register definitions, adc about 50% finished