|
ATmega328p
Hardware definitions
|
Purpose: Timer2 characteristics for RTC-style timekeeping.
Namespace: atmega328p::rtc
The ATmega328P has no separate dedicated RTC peripheral. Timekeeping can use Timer2 in asynchronous mode with a 32.768 kHz crystal on TOSC1 and TOSC2.
TOSC1/TOSC2 share pins with the main oscillator. See the clock restrictions in the datasheet.