23.5.16 Amplitude Register
The TCEn.AMPL and TCEn.AMPH register pair represents the 16-bit value, TCEn.AMP. 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.AMP register holds the 16-bit value used to set the range for the compare
registers and the min/max PWM duty cycle. When SCALE and AMPEN in TCEn.CTRLD are
enabled, the min/max duty cycle is limited to the range defined by the AMP and
OFFSET registers. The AMP register is not in use if AMPEN =
‘0
’.
Name: | AMP |
Offset: | 0x22 |
Reset: | 0x00 |
Property: | - |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| AMP[15:8] | |
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| AMP[7:0] | |
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Bits 15:8 – AMP[15:8] Scale Amplitude
High Byte
This bit field holds
the MSB of the 16-bit Amplitude register.
Bits 7:0 – AMP[7:0] Scale Amplitude Low
Byte
This bit field holds the LSB
of the 16-bit Amplitude register.