clock input from the XCKn pin is sampled by a synchronization register to minimize the chance of meta- stability. The output from the synchronization register must then pass through an edge detector before it can be 2020 Microchip Technology Inc. Data Sheet Complete DS40002070B-page 178 ATmega164A