Struct nrf_modem::MemoryLayout
source · pub struct MemoryLayout {
pub base_address: u32,
pub tx_area_size: u32,
pub rx_area_size: u32,
pub trace_area_size: u32,
}
Expand description
The memory layout used by the modem library.
The full range needs to be in the lower 128k of ram. This also contains the fixed nrfxlib_sys::NRF_MODEM_SHMEM_CTRL_SIZE.
Nordic guide: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.1/nrfxlib/nrf_modem/doc/architecture.html#shared-memory-configuration
Fields§
§base_address: u32
The start of the memory area
tx_area_size: u32
The buffer size of the socket send operations, as well as sent AT commands and TLS certs
rx_area_size: u32
The buffer size of the socket receive operations, as well as received AT commands, gnss messages and TLS certs
trace_area_size: u32
The buffer size of the trace logs
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryLayout
impl RefUnwindSafe for MemoryLayout
impl Send for MemoryLayout
impl Sync for MemoryLayout
impl Unpin for MemoryLayout
impl UnwindSafe for MemoryLayout
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more