Datasheet
18.16.4. PSC Output Compare RA Register
Note: n = 0 to 2 according to module number.
The Output Compare Registers RA, RB, SA and SB contain a 12-bit value that is continuously compared
with the PSC counter value. A match can be used to generate an Output Compare interrupt, or to
generate a waveform output on the associated pin.
The Output Compare Registers are 16-bit and 12-bit in size. To ensure that both the high and low bytes
are written simultaneously when the CPU writes to these registers, the access is performed using an 8-bit
temporary high byte register (TEMP). This temporary register is shared by all the other 16-bit registers.
Name: POCR0RA, POCR1RA, POCR2RA
Offset: 0xA2 + n*0x06 [n=0..2]
Reset: 0x0
Property:
R/W
Bit 15 14 13 12 11 10 9 8
POCRmRAH[11:8]
Access
Reset 0 0 0 0
Bit 7 6 5 4 3 2 1 0
POCRmRAL[7:0]
Access
Reset 0 0 0 0 0 0 0 0
Bits 11:8 – POCRmRAH[11:8]: PSC Output Compare RA High bits
Bits 7:0 – POCRmRAL[7:0]: PSC Output Compare RA Low byte
Atmel ATmega16M1/32M1/64M1 [DATASHEET]
Atmel-8209F-ATmega16M1/32M1/64M1_Datasheet_Complete-10/2016
204