Lines Matching refs:byte
130 static void nhw_UART_Tx_queue_byte(uint inst, struct uarte_status *u_el, uint16_t byte);
469 static bool nhw_UARTE_process_Rx_byte(uint inst, struct uarte_status *u_el, uint16_t *byte) { in nhw_UARTE_process_Rx_byte() argument
478 *byte = *byte << shift; in nhw_UARTE_process_Rx_byte()
481 if (*byte & 0x100) { //It's an address in nhw_UARTE_process_Rx_byte()
482 if ((*byte & 0xFF) == NRF_UARTE_regs[inst].ADDRESS) { in nhw_UARTE_process_Rx_byte()
494 (void) byte; in nhw_UARTE_process_Rx_byte()
503 void nhw_UARTE_digest_Rx_byte(uint inst, uint16_t byte) { in nhw_UARTE_digest_Rx_byte() argument
529 fprintf(u_el->Rx_log_file, "%"PRItime",0x%02X\n", now, byte); in nhw_UARTE_digest_Rx_byte()
533 u_el->trx_callbacks[1](inst, &byte); in nhw_UARTE_digest_Rx_byte()
536 if (nhw_UARTE_process_Rx_byte(inst, u_el, &byte)) { in nhw_UARTE_digest_Rx_byte()
540 Rx_FIFO_push(inst, u_el, byte); in nhw_UARTE_digest_Rx_byte()
744 static uint16_t nhw_UART_prep_Tx_data(uint inst, struct uarte_status *u_el, uint16_t byte) { in nhw_UART_prep_Tx_data() argument
749 return byte; in nhw_UART_prep_Tx_data()
753 return byte >> shift; in nhw_UART_prep_Tx_data()
755 return byte & (0xFF >> shift); in nhw_UART_prep_Tx_data()
759 return byte | 0x100; in nhw_UART_prep_Tx_data()
761 return byte; in nhw_UART_prep_Tx_data()
767 return byte; in nhw_UART_prep_Tx_data()
908 static void nhw_UART_Tx_queue_byte(uint inst, struct uarte_status *u_el, uint16_t byte) in nhw_UART_Tx_queue_byte() argument
916 u_el->Tx_byte = byte; in nhw_UART_Tx_queue_byte()