Programmers Model
ARM DUI 0447J
Copyright © 2009-2014, ARM. All rights reserved.
4-24
ID052914
Non-Confidential
Configuration Status Register
The SYS_CFGSTAT Register characteristics are:
Purpose
Describes if the transfer between the MCC and a Daughterboard
Configuration Controller completes, or if there is an error during the
transfer.
Usage constraints
There are no usage constraints.
Configurations
Available in all configurations.
Attributes
See
Table 4-3 on page 4-8
.
Figure 4-14
shows the register bit assignments.
Figure 4-14 SYS_CFGSTAT Register bit assignments
Table 4-20
shows the register bit assignments.
Example 4-1
shows pseudo code for changing the SYS_CFG registers.
Example 4-1 Pseudo code for changing the SYS_CFG registers
Sys_cfg ( write, function, site, position, dcc, device, data)
// check if busy
if (SYS_CFGCTRL & SYS_CFG_START)
return FAILURE
// clear the complete bit in the SYS_CFGSTAT status register
SYS_CFGSTAT = 0
if (write)
// write data
SYS_CFGDATA = data
// set control register
SYS_CFGCTRL = SYS_CFG_START | SYS_CFG_WRITE | dcc | function | site | position | device
// wait for complete flag to be set
while (!(SYS_CFGSTAT & SYS_CFG_COMPLETE)
// check error status and return error flag if set
if (SYS_CFGSTAT & SYS_CFG_ERROR)
return FAILURE
31
0
Undefined
1
2
Error
Error
Complete
Table 4-20 SYS_CFGSTAT Register bit assignments
Bits
Name
Description
[31:2]
−
Undefined
[1]
Error
1: configuration error. This bit is cleared when bit S of SYS_CFGCTRL is set.
[0]
Complete
1: configuration complete. This bit is cleared when bit S of SYS_CFGCTRL is set.