46.10.97 TWI Write Protection Mode Register
| Name: | FLEX_TWI_WPMR |
| Offset: | 0x6E4 |
| Reset: | 0x00000000 |
| Property: | Read/Write |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| WPKEY[23:16] | |||||||||
| Access | W | W | W | W | W | W | W | W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| WPKEY[15:8] | |||||||||
| Access | W | W | W | W | W | W | W | W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| WPKEY[7:0] | |||||||||
| Access | W | W | W | W | W | W | W | W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| WPCREN | WPITEN | WPEN | |||||||
| Access | R/W | R/W | R/W | ||||||
| Reset | 0 | 0 | 0 |
Bits 31:8 – WPKEY[23:0] Write Protection Key
| Value | Name | Description |
|---|---|---|
| 0x545749 | PASSWD |
Writing any other value in this field aborts the write operation of bits WPEN, WPITEN and WPCREN. Always reads as 0. |
Bit 2 – WPCREN Write Protection Control Enable
| Value | Description |
|---|---|
| 0 | Disables the write protection on control register if WPKEY corresponds to 0x545749 (“TWI” in ASCII). |
| 1 | Enables the write protection on control register if WPKEY corresponds to 0x545749 (“TWI” in ASCII). |
Bit 1 – WPITEN Write Protection Interrupt Enable
| Value | Description |
|---|---|
| 0 | Disables the write protection on interrupt registers if WPKEY corresponds to 0x545749 (“TWI” in ASCII). |
| 1 | Enables the write protection on interrupt registers if WPKEY corresponds to 0x545749 (“TWI” in ASCII). |
Bit 0 – WPEN Write Protection Enable
See TWI Register Write Protection for the list of registers that can be write-protected.
| Value | Description |
|---|---|
| 0 | Disables the write protection if WPKEY corresponds to 0x545749 (“TWI” in ASCII). |
| 1 | Enables the write protection if WPKEY corresponds to 0x545749 (“TWI” in ASCII). |
