Datasheet

If a write is performed to any of the five Timer/Counter2 Registers while its Update Busy flag is set, the
updated value might get corrupted and cause an unintentional interrupt to occur.
ATmega328PB
TC2 - 8-bit Timer/Counter2 with PWM and Asynchrono...
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001906C-page 244