Sundance Spas ST201 User Manual
Page 58

58
Sundance Technology
ST201
PRELIMINARY draft 2
WAKEEVENT
Class....................I/O Registers, Control and Status
Base Address ......IoBaseAddress register value
Address Offset .....0x45
Access Mode .......Read/Write
Width ...................8 bits
WakeEvent contains enable bits to control which types of events can generate a wake event to the host
system. It also contains status bits indicating the specific events that have occurred.
BIT
BIT NAME
BIT DESCRIPTION
0
WakePktEnable
Setting this read/write bit enables the ST201 to generate wake events
via a PCI interrupt due to Wake Packet reception. PmeEn must be set
in the PowerMgmtCtrl register in order for WakePktEnable to be recog-
nized. WakePktEnable has no effect in power mode D0.
1
MagicPktEnable
Setting this read/write bit enables the ST201 to generate wake events
via a PCI interrupt due to Magic Packet reception. MagicPktEnable is
set after a ST201 reset. PmeEn must be set in the PowerMgmtCtrl reg-
ister in order for MagicPktEnable to be recognized. MagicPktEnable
has no effect in power mode D0.
2
LinkEventEnable
Setting this read/write bit enables the ST201 to generate wake events
via a PCI interrupt due to a change in link status (cable connect or dis-
connect). PmeEn must be set in the PowerMgmtCtrl register in order
for LinkEventEnable to be recognized. LinkEventEnable has no effect
in power mode D0.
3
WakePolarity
Setting this read/write bit will cause the Wake pin to be asserted in the
HIGH state (default after RESET). MagicPktEnable is set after a
ST201 reset.
4
WakePktEvent
Indicates that a wake packet (which meets the reception criteria set by
driver) has been received. WakePktEvent is masked by WakePktEna-
ble, and must be set for WakePktEvent to operate. WakePktEvent is
cleared when the WakeEvent register is read.
5
MagicPktEvent
Indicates that a magic packet has been received. MagicPktEvent is
masked by MagicPktEnable, and must be set for MagicPktEvent to
operate. MagicPktEvent is cleared when the WakeEvent register is
read.
6
LinkEvent
Indicates that a link status event has occurred. LinkEvent is masked by
LinkEventEnable, and must be set for LinkEvent to operate. LinkEvent
is cleared when the WakeEvent register is read.
7
WakeOnLanEnable
Setting this read/write bit puts the ST201 in the WakeOnLan mode
regardless of the power management register settings in the configura-
tion space.