Lines Matching full:1

28  *     (it does not take ~1 us as in the real HW)
225 bs_time_t duration = 1 + 8 + 1; /* Start bit, byte, and at least 1 stop bit */ in nhw_uarte_one_byte_time()
229 duration +=1; in nhw_uarte_one_byte_time()
232 duration +=1; in nhw_uarte_one_byte_time()
242 duration = (double)duration * 1e6 / 921600 + 0.5; in nhw_uarte_one_byte_time()
245 duration = (double)duration * 1e6 / 460800 + 0.5; in nhw_uarte_one_byte_time()
251 duration = (double)duration * 1e6 / 230400 + 0.5; in nhw_uarte_one_byte_time()
254 duration = (double)duration * 1e6 / 115200 + 0.5; in nhw_uarte_one_byte_time()
257 duration = (double)duration * 1e6 / 76800 + 0.5; in nhw_uarte_one_byte_time()
260 duration = (double)duration * 1e6 / 57600 + 0.5; in nhw_uarte_one_byte_time()
263 duration = (double)duration * 1e6 / 56000 + 0.5; in nhw_uarte_one_byte_time()
266 duration = (double)duration * 1e6 / 38400 + 0.5; in nhw_uarte_one_byte_time()
272 duration = (double)duration * 1e6 / 28800 + 0.5; in nhw_uarte_one_byte_time()
275 duration = (double)duration * 1e6 / 19200 + 0.5; in nhw_uarte_one_byte_time()
278 duration = (double)duration * 1e6 / 14400 + 0.5; in nhw_uarte_one_byte_time()
281 duration = (double)duration * 1e6 / 9600 + 0.5; in nhw_uarte_one_byte_time()
284 duration = (double)duration * 1e6 / 4800 + 0.5; in nhw_uarte_one_byte_time()
287 duration = (double)duration * 1e6 / 2400 + 0.5; in nhw_uarte_one_byte_time()
290 duration = (double)duration * 1e6 / 1200 + 0.5; in nhw_uarte_one_byte_time()
304 duration = (double)duration * 1e6 / 921600 + 0.5; in nhw_uarte_one_byte_time()
307 duration = (double)duration * 1e6 / 460800 + 0.5; in nhw_uarte_one_byte_time()
313 duration = (double)duration * 1e6 / 230400 + 0.5; in nhw_uarte_one_byte_time()
316 duration = (double)duration * 1e6 / 115200 + 0.5; in nhw_uarte_one_byte_time()
319 duration = (double)duration * 1e6 / 76800 + 0.5; in nhw_uarte_one_byte_time()
322 duration = (double)duration * 1e6 / 57600 + 0.5; in nhw_uarte_one_byte_time()
325 duration = (double)duration * 1e6 / 56000 + 0.5; in nhw_uarte_one_byte_time()
328 duration = (double)duration * 1e6 / 38400 + 0.5; in nhw_uarte_one_byte_time()
334 duration = (double)duration * 1e6 / 28800 + 0.5; in nhw_uarte_one_byte_time()
337 duration = (double)duration * 1e6 / 19200 + 0.5; in nhw_uarte_one_byte_time()
340 duration = (double)duration * 1e6 / 14400 + 0.5; in nhw_uarte_one_byte_time()
343 duration = (double)duration * 1e6 / 9600 + 0.5; in nhw_uarte_one_byte_time()
346 duration = (double)duration * 1e6 / 4800 + 0.5; in nhw_uarte_one_byte_time()
349 duration = (double)duration * 1e6 / 2400 + 0.5; in nhw_uarte_one_byte_time()
352 duration = (double)duration * 1e6 / 1200 + 0.5; in nhw_uarte_one_byte_time()
374 for (int i = 1; i < u_el->Rx_FIFO_cnt; i++) { in Rx_FIFO_pop()
375 u_el->Rx_FIFO[i-1] = u_el->Rx_FIFO[i]; in Rx_FIFO_pop()
377 u_el->Rx_FIFO_cnt -=1; in Rx_FIFO_pop()
396 if (u_el->Rx_FIFO_cnt == 1){ in Rx_FIFO_push()
486 frame_start = now - nhw_uarte_one_byte_time(inst) + 1; in nhw_UARTE_digest_Rx_byte()
494 if (u_el->trx_callbacks[1]) { in nhw_UARTE_digest_Rx_byte()
495 u_el->trx_callbacks[1](inst, &byte); in nhw_UARTE_digest_Rx_byte()
1036 NRF_UARTE_regs[inst].EVENTS_##event = 1; \
1139 void nhw_uarte1_TASKS_STARTRX(void) { nhw_UARTE_TASK_STARTRX(1); } in nhw_uarte1_TASKS_STARTRX()
1140 void nhw_uarte1_TASKS_STOPRX(void) { nhw_UARTE_TASK_STOPRX(1); } in nhw_uarte1_TASKS_STOPRX()
1141 void nhw_uarte1_TASKS_STARTTX(void) { nhw_UARTE_TASK_STARTTX(1); } in nhw_uarte1_TASKS_STARTTX()
1142 void nhw_uarte1_TASKS_STOPTX(void) { nhw_UARTE_TASK_STOPTX(1); } in nhw_uarte1_TASKS_STOPTX()
1143 void nhw_uarte1_TASKS_SUSPEND(void) { nhw_UARTE_TASK_SUSPEND(1); } in nhw_uarte1_TASKS_SUSPEND()
1144 void nhw_uarte1_TASKS_FLUSHRX(void) { nhw_UARTE_TASK_FLUSHRX(1); } in nhw_uarte1_TASKS_FLUSHRX()
1169 static bs_args_struct_t args2[2*NHW_UARTE_TOTAL_INST + 1 /* End marker */]; in nhw_uart_register_cmdline()
1172 #define OPTION_LEN (4 + 2 + 11 + 1) in nhw_uart_register_cmdline()
1178 snprintf(options[i][1], OPTION_LEN, "uart%i_log_rxfile", i); in nhw_uart_register_cmdline()
1186 args2[2*i + 1].option = options[i][1]; in nhw_uart_register_cmdline()
1187 args2[2*i + 1].name = opt_name; in nhw_uart_register_cmdline()
1188 args2[2*i + 1].type = 's'; in nhw_uart_register_cmdline()
1189 args2[2*i + 1].dest = &nhw_uarte_st[i].Rx_log_file_name; in nhw_uart_register_cmdline()
1190 args2[2*i + 1].descript = descr_rx; in nhw_uart_register_cmdline()