XC2200 Derivatives
System Units (Vol. 1 of 2)
System Control Unit (SCU)
User’s Manual
6-87
V2.1, 2008-08
SCU, V1.13
6.5.1.1
SWD Control Registers
The following registers are the software interface for the SWD.
SWDCON0
SWD Control 0 Register
ESFR (F080
H
/40
H
)
Reset Value: 0941
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
L2
A
LEV
L2ACON
L2
OK
LEV2V
L1
A
LEV
L1ACON
L1
OK
LEV1V
rw
rw
rh
rw
rw
rw
rh
rw
Field
Bits
Type
Description
LEV1V
[3:0]
rw
Level Threshold 1 Voltage
This bit field defines the voltage level that is used as
threshold 1 check level.
The values of the level thresholds are listed in the
data sheet.
L1OK
4
rh
Level Threshold 1 Check Result
0
B
The supply voltage is below the Level
Threshold 1 voltage LEV1V
1
B
The supply voltage is equal or above the Level
Threshold 1 voltage LEV1V
L1ACON
[6:5]
rw
Level Threshold 1 Action Control
This bit field defines which actions are requested if
the supply voltage comparison matches the action
level L1ALEV. Following actions can be requested:
00
B
No action is requested
01
B
An interrupt is requested
10
B
A reset is requested
11
B
A reset and an interrupt are requested
L1ALEV
7
rw
Level Threshold 1 Action Level
0
B
When the supply voltage is below the Level
Threshold 1 voltage LEV1V the actions
configured by bit field L1ACON are requested
1
B
When the supply voltage is equal or above the
Level Threshold 1 voltage LEV1V the actions
configured by bit field L1ACON are requested