15.6.10 Peripheral Write Protection Status B
Reading the STATUSB register returns the peripheral write protection status:
Value | Description |
---|---|
0 | Peripheral is not write protected. |
1 | Peripheral is write protected. |
Important: For PIC32CM LS00/LS60 Non-Secure accesses, read
accesses (R*) are allowed only if the peripheral security attribution for the
corresponding peripheral is set as Non-Secured in the NONSECx register.
Name: | STATUSB |
Offset: | 0x38 |
Reset: | 0x00000002 |
Property: | Mix-Secure |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
Access | |||||||||
Reset |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
Access | |||||||||
Reset |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
USB | HMATRIXHS | DMAC | NVMCTRL | DSU | IDAU | ||||
Access | R/R*/R | R/R*/R | R/R*/R | R/R*/R | R/R*/R | R/R*/R | |||
Reset | 0 | 0 | 0 | 0 | 1 | 0 |
Bit 5 – USB Peripheral USB Write Protection Status
Bit 4 – HMATRIXHS Peripheral HMATRIXHS Write Protection Status
Bit 3 – DMAC Peripheral DMAC Write Protection Status
Bit 2 – NVMCTRL Peripheral NVMCTRL Write Protection Status
Bit 1 – DSU Peripheral DSU Write Protection Status
Bit 0 – IDAU Peripheral IDAU Write Protection Status
Note: This bit field is only available
for PIC32CM LS00/LS60 and has no effect for
PIC32CM LE00.