Home
last modified time | relevance | path

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

/nrf_hw_models-3.6.0/docs/
DUART.md10 * A backend which can send and receive the data somewhere.
12 When using the peripheral you select which backend is used for each UART instance
14 If no backend is enabled, that UART instance is disconnected: whatever is sent is dropped, and
37 * The loopback backend
38 * The FIFO backend
40 #### The Loopback backend
42 This backend just connects an instance Tx to its Rx, including the RTS and CTS signals.
45 #### The FIFO backend
47 This backend can connect two instances of these UART models to each other.
51 Therefore you cannot connect this backend to a console, or real devices.
[all …]
/nrf_hw_models-3.6.0/src/HW_models/
DNHW_NVMC.c486 nvm_storage_state_t *backend; in nhw_nmvc_write_word() local
489 nhw_nvmc_address_location(address, &inst, &backend, &offset); in nhw_nmvc_write_word()
496 if (backend == &this->flash_st) { in nhw_nmvc_write_word()
519 if (backend == &this->flash_st) { in nhw_nmvc_write_word()
528 *(uint32_t*)&backend->storage[offset] &= value; in nhw_nmvc_write_word()
553 nvm_storage_state_t *backend; in nhw_nmvc_read_word() local
556 nhw_nvmc_address_location(address, &inst, &backend, &offset); in nhw_nmvc_read_word()
560 if (backend == &this->flash_st) { in nhw_nmvc_read_word()
564 return *(uint32_t*)&backend->storage[offset]; in nhw_nmvc_read_word()
569 nvm_storage_state_t *backend; in nhw_nmvc_read_halfword() local
[all …]
DNHW_UART_backend_if.h36 void nhw_UARTE_backend_register(uint inst, struct backend_if *backend);
DNHW_UART.c187 void nhw_UARTE_backend_register(uint inst, struct backend_if *backend) { in nhw_UARTE_backend_register() argument
190 if (u_el->backend.tx_byte_f != NULL) { in nhw_UARTE_backend_register()
193 memcpy(&u_el->backend, backend, sizeof(struct backend_if)); in nhw_UARTE_backend_register()
431 if (u_el->backend.RTS_pin_toggle_f) { in propagate_RTS_R()
432 u_el->backend.RTS_pin_toggle_f(inst, u_el->RTSR); in propagate_RTS_R()
454 if (u_el->backend.uart_enable_notify_f) { in notify_backend_RxOnOff()
455 u_el->backend.uart_enable_notify_f(inst, u_el->tx_status != Tx_Off, OnNotOff); in notify_backend_RxOnOff()
460 if (u_el->backend.uart_enable_notify_f) { in notify_backend_TxOnOff()
461 u_el->backend.uart_enable_notify_f(inst, OnNotOff, u_el->rx_status != Rx_Off); in notify_backend_TxOnOff()
758 if (u_el->backend.tx_byte_f) { in nhw_UARTE_Tx_byte()
[all …]
DNHW_UART_private.h69 struct backend_if backend; member