Searched refs:rx_buf (Results 1 – 3 of 3) sorted by relevance
234 static uint8_t rx_buf[_NRF_MAX_PACKET_SIZE]; // " variable235 static uint8_t *rx_pkt_buffer_ptr = (uint8_t*)&rx_buf;254 static void nhw_radio_device_address_match(uint8_t rx_buf[]);941 rx_status.CI = rx_buf[0] & 0x3; in Rx_handle_CI_reception()980 NRF_RADIO_regs.RXCRC = nhwra_get_rx_crc_value(rx_buf, rx_status.rx_resp.packet_size); in Rx_handle_end_response()1004 uint length = nhwra_get_payload_length(rx_buf); in Rx_handle_address_end_response()1048 ((uint8_t*)NRF_RADIO_regs.PACKETPTR)[0] = rx_buf[0]; in Rx_handle_address_end_response()1049 ((uint8_t*)NRF_RADIO_regs.PACKETPTR)[1] = rx_buf[1]; in Rx_handle_address_end_response()1052 &rx_buf[2] , length); in Rx_handle_address_end_response()1056 ((uint8_t*)NRF_RADIO_regs.PACKETPTR)[0] = rx_buf[0]; in Rx_handle_address_end_response()[all …]
30 uint32_t nhwra_get_rx_crc_value(uint8_t *rx_buf, size_t rx_packet_size);
666 uint32_t nhwra_get_rx_crc_value(uint8_t *rx_buf, size_t rx_packet_size) { in nhwra_get_rx_crc_value() argument669 uint payload_len = nrfra_get_capped_payload_length(rx_buf); in nhwra_get_rx_crc_value()674 memcpy((void*)&crc, &rx_buf[2 + payload_len], crc_len); in nhwra_get_rx_crc_value()677 memcpy((void*)&crc, &rx_buf[1 + payload_len], crc_len); in nhwra_get_rx_crc_value()