pub struct JPEG { /* private fields */ }
Expand description
JPEG Codec
Implementations§
Source§impl JPEG
impl JPEG
Sourcepub const PTR: *const RegisterBlock = {0x50086000 as *const jpeg::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x50086000 as *const jpeg::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 decode_conf(&self) -> &DECODE_CONF
pub fn decode_conf(&self) -> &DECODE_CONF
0x20 - Control and configuration registers
Sourcepub fn dht_totlen_dc0(&self) -> &DHT_TOTLEN_DC0
pub fn dht_totlen_dc0(&self) -> &DHT_TOTLEN_DC0
0x58 - Trace and Debug registers
Sourcepub fn dht_val_dc0(&self) -> &DHT_VAL_DC0
pub fn dht_val_dc0(&self) -> &DHT_VAL_DC0
0x5c - Trace and Debug registers
Sourcepub fn dht_totlen_ac0(&self) -> &DHT_TOTLEN_AC0
pub fn dht_totlen_ac0(&self) -> &DHT_TOTLEN_AC0
0x60 - Trace and Debug registers
Sourcepub fn dht_val_ac0(&self) -> &DHT_VAL_AC0
pub fn dht_val_ac0(&self) -> &DHT_VAL_AC0
0x64 - Trace and Debug registers
Sourcepub fn dht_totlen_dc1(&self) -> &DHT_TOTLEN_DC1
pub fn dht_totlen_dc1(&self) -> &DHT_TOTLEN_DC1
0x68 - Trace and Debug registers
Sourcepub fn dht_val_dc1(&self) -> &DHT_VAL_DC1
pub fn dht_val_dc1(&self) -> &DHT_VAL_DC1
0x6c - Trace and Debug registers
Sourcepub fn dht_totlen_ac1(&self) -> &DHT_TOTLEN_AC1
pub fn dht_totlen_ac1(&self) -> &DHT_TOTLEN_AC1
0x70 - Trace and Debug registers
Sourcepub fn dht_val_ac1(&self) -> &DHT_VAL_AC1
pub fn dht_val_ac1(&self) -> &DHT_VAL_AC1
0x74 - Trace and Debug registers
Sourcepub fn dht_codemin_dc0(&self) -> &DHT_CODEMIN_DC0
pub fn dht_codemin_dc0(&self) -> &DHT_CODEMIN_DC0
0x78 - Trace and Debug registers
Sourcepub fn dht_codemin_ac0(&self) -> &DHT_CODEMIN_AC0
pub fn dht_codemin_ac0(&self) -> &DHT_CODEMIN_AC0
0x7c - Trace and Debug registers
Sourcepub fn dht_codemin_dc1(&self) -> &DHT_CODEMIN_DC1
pub fn dht_codemin_dc1(&self) -> &DHT_CODEMIN_DC1
0x80 - Trace and Debug registers
Sourcepub fn dht_codemin_ac1(&self) -> &DHT_CODEMIN_AC1
pub fn dht_codemin_ac1(&self) -> &DHT_CODEMIN_AC1
0x84 - Trace and Debug registers
Sourcepub fn decoder_status0(&self) -> &DECODER_STATUS0
pub fn decoder_status0(&self) -> &DECODER_STATUS0
0x88 - Trace and Debug registers
Sourcepub fn decoder_status1(&self) -> &DECODER_STATUS1
pub fn decoder_status1(&self) -> &DECODER_STATUS1
0x8c - Trace and Debug registers
Sourcepub fn decoder_status2(&self) -> &DECODER_STATUS2
pub fn decoder_status2(&self) -> &DECODER_STATUS2
0x90 - Trace and Debug registers
Sourcepub fn decoder_status3(&self) -> &DECODER_STATUS3
pub fn decoder_status3(&self) -> &DECODER_STATUS3
0x94 - Trace and Debug registers
Sourcepub fn decoder_status4(&self) -> &DECODER_STATUS4
pub fn decoder_status4(&self) -> &DECODER_STATUS4
0x98 - Trace and Debug registers
Sourcepub fn decoder_status5(&self) -> &DECODER_STATUS5
pub fn decoder_status5(&self) -> &DECODER_STATUS5
0x9c - Trace and Debug registers