Gast
#1993113
Hallo Leute. Ich will mit dem Timer 2 des Atmega128 eine Uhr mit externem Quarz bauen. Im Datenblatt steht folgendes: The Timer/Counter can be clocked by an internal synchronous or an external asynchronous clock source. The clock source clkT2 is by default equal to the MCU clock, clkI/O. When the AS2 bit in the ASSR Register is written to logic one, the clock source is taken from the Timer/Counter Oscillator connected to TOSC1 and TOSC2. For details on asynchronous operation, see “Asynchronous Status Register – ASSR” on page 107. For details on clock sources and prescaler, see “Timer/Counter Prescaler” on page 110. Hier heißt es, dass ich AS2 im register ASSR auf 1 setzen muss. Aber in der Register-Summary steht in ASSR bloß das Bit AS0 drin. Das bedeutet, dass es für den Timer 0 ist. wie soll ich ein Bit setzen, dass es nicht gibt??? danke im voraus M.H.