AAEON AEC-6643 User Manual

Page 59

Advertising
background image

E m b e d d e d C o n t r o l l e r

A E C - 6 6 4 3

Appendix A Programming the Watchdog Timer A-6

************************************************************************************
VOID   

SIOEnterMBPnPMode()

 

Switch(SIOIndex){ 

 

 

Case 0x2E: 

 

 

 

IOWriteByte(SIOIndex, 0x87); 

 

 

 

IOWriteByte(SIOIndex, 0x01); 

IOWriteByte(SIOIndex, 0x55); 

IOWriteByte(SIOIndex, 0x55); 

Break; 

 

 

Case 0x4E: 

 

 

 

IOWriteByte(SIOIndex, 0x87); 

 

 

 

IOWriteByte(SIOIndex, 0x01); 

IOWriteByte(SIOIndex, 0x55); 

IOWriteByte(SIOIndex, 0xAA); 

 

 

 

Break; 

 

 

VOID   

SIOExitMBPnPMode()

 

IOWriteByte(SIOIndex, 0x02); 

 

IOWriteByte(SIOData, 0x02); 

 

VOID   

SIOSelectLDN(byte LDN)

IOWriteByte(SIOIndex, 0x07); 

// SIO LDN Register Offset = 0x07 

 

IOWriteByte(SIOData, LDN); 


************************************************************************************

Advertising