Home
last modified time | relevance | path

Searched refs:slave_header (Results 1 – 1 of 1) sorted by relevance

/openthread-2.7.6/tools/spi-hdlc-adapter/
Dspi-hdlc-adapter.c519 uint8_t slave_header; in push_pull_spi() local
611 slave_header = spi_header_get_flag_byte(spiRxFrameBuffer); in push_pull_spi()
613 if ((slave_header == 0xFF) || (slave_header == 0x00)) in push_pull_spi()
615 if ((slave_header == spiRxFrameBuffer[1]) && (slave_header == spiRxFrameBuffer[2]) && in push_pull_spi()
616 (slave_header == spiRxFrameBuffer[3]) && (slave_header == spiRxFrameBuffer[4])) in push_pull_spi()
621 "Slave did not respond to frame. (Header was all 0x%02X)", slave_header); in push_pull_spi()
645 …if (((slave_header & SPI_HEADER_PATTERN_MASK) != SPI_HEADER_PATTERN_VALUE) || (slave_max_rx > MAX_… in push_pull_spi()
665 if ((slave_header & SPI_HEADER_RESET_FLAG) == SPI_HEADER_RESET_FLAG) in push_pull_spi()