0
\$\begingroup\$

I was reading the atmega328p datasheet, and suddenly, i saw that a register is mentioned called "OCRA", on page 108 and page 160, which normally, should be register "OCR0A", which is widely mentioned on this datasheet. "OCRA" is only mentioned on those two pages, inside tables, which is suspicious.

OCR0A is normally responsible for the TOP value of compare register for the timer interrups.

Is this a mistake of the datasheet?

\$\endgroup\$
  • \$\begingroup\$ Since it appears in a table, it might just be shorthand for OCRnA of the timer being described. Or maybe it comes from an earlier idea of nomenclature that was changed everywhere else before publication. Could be inherited from an earlier part only having one timer, but not immediately identifying the candidate. \$\endgroup\$ – Chris Stratton Jul 29 at 18:26
  • 1
    \$\begingroup\$ Very likely a mistake. But OCRA is common for all timers, so not such an obvious error. \$\endgroup\$ – Kripacharya Aug 2 at 19:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.