Get the ACC register write-protection status.
uint32_t acc_get_writeprotect_status(
Acc * p_acc)
Data direction | Parameter name | Description |
---|---|---|
[in] |
p_acc |
Module hardware register base address pointer |
The ACC register write-protection status.
Return value | Description |
---|---|
0 |
No write-protection error |
ACC_WPSR_WPROTERR |
Write-protection error |