Home | History | Annotate | Download | only in tools

Lines Matching refs:ch

50 static uint16 ubcsp_calc_crc (uint8 ch, uint16 crc);

216 /** Takes the next 8 bit value ch, and updates the crc with this value **/
223 static uint16 ubcsp_calc_crc (uint8 ch, uint16 crc)
237 crc = (crc >> 4) ^ crc_table[(crc ^ ch) & 0x000f];
238 crc = (crc >> 4) ^ crc_table[(crc ^ (ch >> 4)) & 0x000f];
281 static void ubcsp_put_slip_uart (uint8 ch)
290 if (ch == SLIP_FRAME)
295 else if (ch == SLIP_ESCAPE)
304 put_uart (ch);