29.16.1 OCDR – On-chip Debug Register
When addressing I/O Registers as data space using LD and ST instructions, the provided offset must be used. When using the I/O specific commands IN and OUT, the offset is reduced by 0x20, resulting in an I/O address offset within 0x00 - 0x3F.
| Name: | OCDR |
| Offset: | 0x51 |
| Reset: | 0x20 |
| Property: | When addressing as I/O Register: address offset is 0x31 |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| IDRD/OCDR7 | OCDR 6 | OCDR 5 | OCDR 4 | OCDR 3 | OCDR 2 | OCDR 1 | OCDR 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 |
Bit 7 – IDRD/OCDR7 USART Receive Complete
In some AVR devices, this register is shared with a standard I/O location. In this case, the OCDR Register can only be accessed if the OCDEN fuse is programmed, and the debugger enables access to the OCDR Register. In all other cases, the standard I/O location is accessed.
- Bit 7 is MSB
- Bit 1 is LSB
Refer to the debugger documentation for further information on how to use this register.
