Download F8913D User Manual - Four
Transcript
F8913D User Manual 4.4.3.9.15 Set D0 pin mode Send query command: FE 01 21 2B 0E 05 SOF Length Command Data FCS FE 01 21 2B command (1 byte) 05 0E Respone to query command: FE 03 61 2B 0E 00 00 47 SOF Length Command Data FE 03 61 2B command (1 byte) Respone value (2 bytes) 0E 00 00 Data Description: ( little-endian) Respone value: 00 00 = Disable 02 00 = GPIO input 04 00 = GPIO output high FCS 47 01 00 = ADC 03 00 = GPIO output low Send set command: FE 03 21 2B 0E 00 00 07 SOF Length Command Data FE 03 21 2B command (1 byte) parameter value (2 bytes) 0E 00 00 Data Description: ( little-endian) Parameter value: 00 00 = Disable 02 00 = GPIO input 04 00 = GPIO output high Default :00 00 FCS 07 01 00 = ADC 03 00 = GPIO output low Respone to set command:FE 01 61 2B 00 4B / FE 01 61 2B 02 49 SOF Length Command Data FCS FE 01 61 2B Command state (1 byte) 4B 00 Data Description: 00 = Success 02 = Failure Xiamen Four-Faith Communication Technology Co.,Ltd. Add: J1-J3,3rdFloor,No.44,GuanRiRoad,SoftWare Park,XiaMen .China http://www.fourfaith.com Tel: +86 592-6300326 6300325 6300324 Page 67 of 99 Fax:+86 592-5912735