| поискавой системы для электроныых деталей |
|
UPD77533 датащи(PDF) 88 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
UPD77533 датащи(HTML) 88 Page - Renesas Technology Corp |
|
88 / 104 page ![]() Data Sheet S15671EJ4V0DS 86 µµµµPD77533 static int RecvDataFromGm(unsigned char *Buf); static int RecvDataFromLS(unsigned char *Buf); static void SendDataToGm(const unsigned char *Data, int Len); static void SendDataToLs(const unsigned char *Data, int Len); static void HostCPUThreadLoop(void); static void GmSerialIn(void); static void CopyGmRes(void); static void CheckGmRes(void); static void DiscardLastPacket(void); static void ResendLastPacket(void); static void SendLSAck(void); static void SendLocalAck(void); static void SendNack(void); static void CopyGmToLs(void); static void GmSerialOut(void); static void LsSerialIn(void); static void CopyLsRes(void); static void CopyLsToGm(void); static int GetLsCmdLen(unsigned char *Data); static void LsSerialOut(void); /*======================*/ /* Static work area */ /*======================*/ static COMMINFO GmComm; /* COM information on GM side */ static COMMINFO LsComm; /* COM information on LS side */ static RESINFO ResInfo; /* Response information */ /* Data string of GM command */ /* ACK (LS command) */ static const unsigned char ServerACK[] = { CMD_ID_LS, 0x00, PACKET_FLG }; /* ACK (local command) */ static const unsigned char LocalACK[] = { 0x3F, 0x01, 0x00, PACKET_FLG }; /* NACK */ static const unsigned char BothNACK[] = { 0x3F, 0x01 }; /* NACK (error) */ static const unsigned char ErrorNACK[] = { 0x3F, 0x01, 0x01, PACKET_FLG }; /* Reset response */ static const unsigned char ResetRsp[] = { 0x04, 0x00, PACKET_FLG }; /* Character Timeout command/response */ static const unsigned char TimeoutCmdRsp[] = { 0x13, 0x03, 0xE8, 0x03, 0x00, PACKET_FLG }; /* FCC Frequency command/response */ static const unsigned char FccFreqCmdRsp[] = { 0x02, 0x04, 0x00, 0x00, 0xE1, 0x00, PACKET_FLG }; /* TXACVT command/response */ static const unsigned char TxacvtCmdRsp[] = { 0x07, 0x01, 0x01, PACKET_FLG }; /* FCC Control command/response */ static const unsigned char FccCtrlCmdRsp[] = { 0x06, 0x01, 0x01, PACKET_FLG }; /* Flow Point Control command/response */ static const unsigned char FlowPointCtrlCmdRsp[] = { 0x7F, 0x03, 0x00, 0x10, 0x00, PACKET_FLG }; /*----------------------------------------------------------------------------- * Function * Main program * * Parameter * None * |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |