AAEON EMB-A70M User Manual

Page 65

Advertising
background image

M i n i - I T X

E M B - A 7 0 M

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