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

0

1

2

3

4

5

6

7

BIT NAME

WakePktEnable

MagicPktEnable

LinkEventEnable

WakePolarity

WakePktEvent

MagicPktEvent

LinkEvent

WakeOnLanEnable

BIT DESCRIPTION

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.

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.

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.

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.

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.

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.

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.

Setting this read/write bit puts the ST201 in the WakeOnLan mode regardless of the power management register settings in the configura- tion space.

58

Page 58
Image 58
Sundance Spas ST201 manual Wakeevent