15.6.17 Peripheral Security Lock Status - Bridge C

Important:
  • This register is only available for PIC32CM LS00/LS60 and has no effect for PIC32CM LE00.
  • if BOCOR.SECCFGLOCK == 0 after exiting the Boot ROM, the secure software code of the Flash BOOT region, before passing control on to the secure software code of the Flash APPLICATION region, MUST lock the current security attribution of each peripheral using WRCTRL.SECLOCK command.

Reading SECLOCK register returns peripheral security lock status:

ValueDescription
0Peripheral security attribution is not locked.
1Peripheral security attribution is locked.
Name: SECLOCKC
Offset: 0x7C
Reset: 0x00000000
Property: Write-Secure

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
   TRAMOPAMPI2SCCLTRNGPTC 
Access R/R/RR/R/RR/R/RR/R/RR/R/RR/R/R 
Reset 000000 
Bit 15141312111098 
 DACADCTCC3TCC2TCC1TCC0TC2TC1 
Access R/R/RR/R/RR/R/RR/R/RR/R/RR/R/RR/R/RR/R/R 
Reset 00000000 
Bit 76543210 
 TC0SERCOM5SERCOM4SERCOM3SERCOM2SERCOM1SERCOM0EVSYS 
Access R/R/RR/R/RR/R/RR/R/RR/R/RR/R/RR/R/RR/R/R 
Reset 00000000 

Bit 21 – TRAM Peripheral TRAM Security Lock

Bit 20 – OPAMP Peripheral OPAMP Security Lock

Bit 19 – I2S Peripheral I2S Security Lock

Bit 18 – CCL Peripheral CCL Security Lock

Bit 17 – TRNG Peripheral TRNG Security Lock

Bit 16 – PTC Peripheral PTC Security Lock

Bit 15 – DAC Peripheral DAC Security Lock

Bit 14 – ADC Peripheral ADC Security Lock

Bits 10, 11, 12, 13 – TCC Peripheral TCn Security Lock [n = 3..0]

Bits 7, 8, 9 – TC Peripheral TCn Security Lock [n = 2..0]

Bits 1, 2, 3, 4, 5, 6 – SERCOM Peripheral SERCOMn Security Lock [n = 5..0]

Bit 0 – EVSYS Peripheral EVSYS Security Lock