Writing the gpio data – Fairbanks FB3000 II Operators Manual User Manual
Page 47
Advertising
Appendix I: GPIO Port
02/10
47
51220 Rev. 1
Writing the GPIO Data
• 4e,87
• 4e,87
• 4e,2a //configuration register(CR2a)
• 4f,fc //set GPIO ,not GAME PORT
• 4e,07 //point to logical device number reg.
• 4f,07 //select logical device 7
• 4e,30 //configuration register(CR30)
• 4f,1 //open logical device control
• 4e,f0
//configuration register(CRf0)
• 4f,00 // 0=output
• 4e,f1
• 4f,XX // XX= (00 ~ FF) output value
bit0 : GPI(O)1 bit1 : GPI(O)2 bit2 : GPI(O)3 bit3 : GPI(O)4 bit4 : GPI(O)5 bit5 :
GPI(O)6 bit6 : GPI(O)7 bit7 : GPI(O)8
Advertising