| Electronic Components Datasheet Search |
|
UPD77533 Datasheet(PDF) 98 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
UPD77533 Datasheet(HTML) 98 Page - Renesas Technology Corp |
|
98 / 104 page ![]() Data Sheet S15671EJ4V0DS 96 µµµµPD77533 /*----------------------------------------------------------------------------- * Function * Transmit response from GM to LS * * Parameter * None * * Return Value * None ---------------------------------------------------------------------------- */ static void CopyGmToLs(void) { int Len; /* Transmit only contents of packet to LS */ Len = GmComm.CurrentLen[SERIAL_IN] - PACKET_INFO_LEN; memcpy(LsComm.BinData[SERIAL_OUT], GmComm.BinData[SERIAL_IN] + 2, Len); LsComm.CurrentLen[SERIAL_OUT] = Len; LsComm.FixedFlag[SERIAL_OUT] = TRUE; LsSerialOut(); return; } /*----------------------------------------------------------------------------- * Function * Output to GM * * Parameter * None * * Return Value * None ---------------------------------------------------------------------------- */ static void GmSerialOut(void) { if(GmComm.FixedFlag[SERIAL_OUT]) { /* Output to GM */ SendToSerial(SERIAL_GM, (char*)GmComm.BinData[SERIAL_OUT], GmComm.CurrentLen[SERIAL_OUT]); GmComm.FixedFlag[SERIAL_OUT] = FALSE; /* For LS command, set so that ACK/NACK is waited for */ if((GmComm.BinData[SERIAL_OUT][0] == CMD_ID_LS) && ((GmComm.CurrentLen[SERIAL_OUT] != 3) || (memcmp(GmComm.BinData[SERIAL_OUT], ServerACK, sizeof(ServerACK)) != 0))) { GmComm.AckNackWait = TRUE; } else GmComm.CurrentLen[SERIAL_OUT] = 0; } return; } /*----------------------------------------------------------------------------- * Function * Input by LS |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |