AT32UC3C2512C Automotive Atmel Corporation, AT32UC3C2512C Automotive Datasheet - Page 991

no-image

AT32UC3C2512C Automotive

Manufacturer Part Number
AT32UC3C2512C Automotive
Description
Manufacturer
Atmel Corporation
33.6.5.7
9166C–AVR-08/11
Write Protect Registers
To prevent any single software error that may corrupt PWM behavior, the registers listed below
can be write-protected by writing the WPCMD field in the
page 1026
There are two types of Write Protect:
Both Write Protect can be applied independently to a particular register group thanks to the
WPCMD and WPRG fields in WPCR register. If at least one of the Write Protect is active, the
register group is write-protected. The WPCMD field allows to perform the following actions
depending on its value:
At any time, the user can know which Write Protect is active in which register group by the
WPSWS and WPHWS fields in the
If a write access in a write-protected register is detected, then the WPVS bit in the WPSR regis-
ter is set and the WPVSRC field indicates in which register the write access has been attempted,
through its address offset without the two LSBs.
The WPVS and WPSR fields are automatically reset after reading the WPSR register.
• Register group 0:
• Register group 1:
• Register group 2:
• Register group 3:
• Register group 4:
• Register group 5:
• the Write Protect SW, which can be enabled or disabled.
• the Write Protect HW, which can just be enabled, only a hardware reset of the PWM
• 0: Disabling the Write Protect SW of the register groups of which the WPRG bit is at 1.
• 1: Enabling the Write Protect SW of the register groups of which the WPRG bit is at 1.
• 2: Enabling the Write Protect HW of the register groups of which the WPRG bit is at 1.
controller can disable it.
”Clock Register” on page 995
”Disable Register” on page 998
”Sync Channels Mode Register” on page 1004
”Channel Mode Register” on page 1034
”Stepper Motor Mode Register” on page 1025
”Channel Period Register” on page 1038
”Channel Period Update Register” on page 1040
”Channel Dead Time Register” on page 1043
”Channel Dead Time Update Register” on page 1044
”Fault Mode Register” on page 1019
”Fault Protection Value Register” on page 1022
(WPCR). They are divided into 6 groups:
”Write Protect Status Register” on page 1028
”Write Protect Control Register” on
AT32UC3C
(WPSR).
991

Related parts for AT32UC3C2512C Automotive