Struct esp32p4::MIPI_CSI_BRIDGE
source · pub struct MIPI_CSI_BRIDGE { /* private fields */ }Expand description
MIPI Camera Interface Bridge
Implementations§
source§impl MIPI_CSI_BRIDGE
impl MIPI_CSI_BRIDGE
sourcepub const PTR: *const RegisterBlock = {0x5009f800 as *const mipi_csi_bridge::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x5009f800 as *const mipi_csi_bridge::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn dma_req_cfg(&self) -> &DMA_REQ_CFG
pub fn dma_req_cfg(&self) -> &DMA_REQ_CFG
0x08 - dma request configuration.
sourcepub fn buf_flow_ctl(&self) -> &BUF_FLOW_CTL
pub fn buf_flow_ctl(&self) -> &BUF_FLOW_CTL
0x0c - csi bridge buffer control.
sourcepub fn data_type_cfg(&self) -> &DATA_TYPE_CFG
pub fn data_type_cfg(&self) -> &DATA_TYPE_CFG
0x10 - pixel data type configuration.
sourcepub fn endian_mode(&self) -> &ENDIAN_MODE
pub fn endian_mode(&self) -> &ENDIAN_MODE
0x18 - data endianness order configuration.
sourcepub fn dma_req_interval(&self) -> &DMA_REQ_INTERVAL
pub fn dma_req_interval(&self) -> &DMA_REQ_INTERVAL
0x2c - DMA interval configuration.
sourcepub fn dmablk_size(&self) -> &DMABLK_SIZE
pub fn dmablk_size(&self) -> &DMABLK_SIZE
0x30 - DMA block size configuration.
sourcepub fn rdn_eco_cs(&self) -> &RDN_ECO_CS
pub fn rdn_eco_cs(&self) -> &RDN_ECO_CS
0x34 - N/A
sourcepub fn rdn_eco_low(&self) -> &RDN_ECO_LOW
pub fn rdn_eco_low(&self) -> &RDN_ECO_LOW
0x38 - N/A
sourcepub fn rdn_eco_high(&self) -> &RDN_ECO_HIGH
pub fn rdn_eco_high(&self) -> &RDN_ECO_HIGH
0x3c - N/A