Update of OCR1A in fast PWM using OC1B

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm using an atmega328p with timer1 setup for fast PWM where TOP is ICR1 and im ONLY using the OC1B pin for pwm.
Additionally im using the COMPA isr for blinking an LED.

I know the data sheet says that OCR1X is updated at bottom but is this only for the one being used for PWM.
Or since Im not using OCR1A for PWM, does that one update immediately (the data sheet isn't entirely explicit about this)