23.5.17 Offset Register

The TCEn.OFFSETL and TCEn.OFFSETH register pair represents the 16-bit value, TCEn.OFFSET. The low byte [7:0] (suffix L) is accessible at the original offset. The high byte [15:8] (suffix H) can be accessed at offset + 0x01. CPU and UPDI write access has priority over internal updates of the register.

The TCEn.OFFSET register holds the 16-bit value to set the offset adjustment for the compare register. When SCALE and AMPEN in TCEn.CTRLD are enabled, the OFFSET register is automatically updated after a write to the AMP register, based on the configuration in SCALEMODE bitfield in TCEn.CTRLD.

Name: OFFSET
Offset: 0x24
Reset: 0x00
Property: -

Bit 15141312111098 
 OFFSET[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 OFFSET[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 15:8 – OFFSET[15:8] Scale Offset High Byte

This bit field holds the MSB of the 16-bit Offset register.

Bits 7:0 – OFFSET[7:0] Scale Offset Low Byte

This bit field holds the LSB of the 16-bit Offset register.