RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 71 fields pub mjpeg_control_1: MJPEG_CONTROL_1, pub mjpeg_control_2: MJPEG_CONTROL_2, pub mjpeg_yy_frame_addr: MJPEG_YY_FRAME_ADDR, pub mjpeg_uv_frame_addr: MJPEG_UV_FRAME_ADDR, pub mjpeg_yuv_mem: MJPEG_YUV_MEM, pub jpeg_frame_addr: JPEG_FRAME_ADDR, pub jpeg_store_memory: JPEG_STORE_MEMORY, pub mjpeg_control_3: MJPEG_CONTROL_3, pub mjpeg_frame_fifo_pop: MJPEG_FRAME_FIFO_POP, pub mjpeg_frame_size: MJPEG_FRAME_SIZE, pub mjpeg_header_byte: MJPEG_HEADER_BYTE, pub mjpeg_swap_mode: MJPEG_SWAP_MODE, pub mjpeg_swap_bit_cnt: MJPEG_SWAP_BIT_CNT, pub mjpeg_paket_ctrl: MJPEG_PAKET_CTRL, pub mjpeg_paket_head_tail: MJPEG_PAKET_HEAD_TAIL, pub mjpeg_y_frame_read_status_1: MJPEG_Y_FRAME_READ_STATUS_1, pub mjpeg_y_frame_read_status_2: MJPEG_Y_FRAME_READ_STATUS_2, pub mjpeg_y_frame_write_status: MJPEG_Y_FRAME_WRITE_STATUS, pub mjpeg_uv_frame_read_status_1: MJPEG_UV_FRAME_READ_STATUS_1, pub mjpeg_uv_frame_read_status_2: MJPEG_UV_FRAME_READ_STATUS_2, pub mjpeg_uv_frame_write_status: MJPEG_UV_FRAME_WRITE_STATUS, pub mjpeg_start_addr0: MJPEG_START_ADDR0, pub mjpeg_bit_cnt0: MJPEG_BIT_CNT0, pub mjpeg_start_addr1: MJPEG_START_ADDR1, pub mjpeg_bit_cnt1: MJPEG_BIT_CNT1, pub mjpeg_start_addr2: MJPEG_START_ADDR2, pub mjpeg_bit_cnt2: MJPEG_BIT_CNT2, pub mjpeg_start_addr3: MJPEG_START_ADDR3, pub mjpeg_bit_cnt3: MJPEG_BIT_CNT3, pub mjpeg_start_addr4: MJPEG_START_ADDR4, pub mjpeg_bit_cnt4: MJPEG_BIT_CNT4, pub mjpeg_start_addr5: MJPEG_START_ADDR5, pub mjpeg_bit_cnt5: MJPEG_BIT_CNT5, pub mjpeg_start_addr6: MJPEG_START_ADDR6, pub mjpeg_bit_cnt6: MJPEG_BIT_CNT6, pub mjpeg_start_addr7: MJPEG_START_ADDR7, pub mjpeg_bit_cnt7: MJPEG_BIT_CNT7, pub mjpeg_start_addr_8: MJPEG_START_ADDR_8, pub mjpeg_bit_cnt_8: MJPEG_BIT_CNT_8, pub mjpeg_start_addr_9: MJPEG_START_ADDR_9, pub mjpeg_bit_cnt_9: MJPEG_BIT_CNT_9, pub mjpeg_start_addr_a: MJPEG_START_ADDR_A, pub mjpeg_bit_cnt_a: MJPEG_BIT_CNT_A, pub mjpeg_start_addr_b: MJPEG_START_ADDR_B, pub mjpeg_bit_cnt_b: MJPEG_BIT_CNT_B, pub mjpeg_start_addr_c: MJPEG_START_ADDR_C, pub mjpeg_bit_cnt_c: MJPEG_BIT_CNT_C, pub mjpeg_start_addr_d: MJPEG_START_ADDR_D, pub mjpeg_bit_cnt_d: MJPEG_BIT_CNT_D, pub mjpeg_start_addr_e: MJPEG_START_ADDR_E, pub mjpeg_bit_cnt_e: MJPEG_BIT_CNT_E, pub mjpeg_start_addr_f: MJPEG_START_ADDR_F, pub mjpeg_bit_cnt_f: MJPEG_BIT_CNT_F, pub mjpeg_q_mode0: MJPEG_Q_MODE0, pub mjpeg_q_mode1: MJPEG_Q_MODE1, pub mjpeg_q_mode2: MJPEG_Q_MODE2, pub mjpeg_q_mode3: MJPEG_Q_MODE3, pub mjpeg_q_mode4: MJPEG_Q_MODE4, pub mjpeg_q_mode5: MJPEG_Q_MODE5, pub mjpeg_q_mode6: MJPEG_Q_MODE6, pub mjpeg_q_mode7: MJPEG_Q_MODE7, pub mjpeg_q_mode_8: MJPEG_Q_MODE_8, pub mjpeg_q_mode_9: MJPEG_Q_MODE_9, pub mjpeg_q_mode_a: MJPEG_Q_MODE_A, pub mjpeg_q_mode_b: MJPEG_Q_MODE_B, pub mjpeg_q_mode_c: MJPEG_Q_MODE_C, pub mjpeg_q_mode_d: MJPEG_Q_MODE_D, pub mjpeg_q_mode_e: MJPEG_Q_MODE_E, pub mjpeg_q_mode_f: MJPEG_Q_MODE_F, pub mjpeg_debug: MJPEG_DEBUG, pub mjpeg_dummy_reg: MJPEG_DUMMY_REG, /* private fields */
}
Expand description

Register block

Fields§

§mjpeg_control_1: MJPEG_CONTROL_1

0x00 - mjpeg_control_1.

§mjpeg_control_2: MJPEG_CONTROL_2

0x04 - mjpeg_control_2.

§mjpeg_yy_frame_addr: MJPEG_YY_FRAME_ADDR

0x08 - mjpeg_yy_frame_addr.

§mjpeg_uv_frame_addr: MJPEG_UV_FRAME_ADDR

0x0c - mjpeg_uv_frame_addr.

§mjpeg_yuv_mem: MJPEG_YUV_MEM

0x10 - mjpeg_yuv_mem.

§jpeg_frame_addr: JPEG_FRAME_ADDR

0x14 - jpeg_frame_addr.

§jpeg_store_memory: JPEG_STORE_MEMORY

0x18 - jpeg_store_memory.

§mjpeg_control_3: MJPEG_CONTROL_3

0x1c - mjpeg_control_3.

§mjpeg_frame_fifo_pop: MJPEG_FRAME_FIFO_POP

0x20 - mjpeg_frame_fifo_pop.

§mjpeg_frame_size: MJPEG_FRAME_SIZE

0x24 - mjpeg_frame_size.

§mjpeg_header_byte: MJPEG_HEADER_BYTE

0x28 - mjpeg_header_byte.

§mjpeg_swap_mode: MJPEG_SWAP_MODE

0x30 - mjpeg_swap_mode.

§mjpeg_swap_bit_cnt: MJPEG_SWAP_BIT_CNT

0x34 - mjpeg_swap_bit_cnt.

§mjpeg_paket_ctrl: MJPEG_PAKET_CTRL

0x38 - mjpeg_paket_ctrl.

§mjpeg_paket_head_tail: MJPEG_PAKET_HEAD_TAIL

0x3c - mjpeg_paket_head_tail.

§mjpeg_y_frame_read_status_1: MJPEG_Y_FRAME_READ_STATUS_1

0x40 - mjpeg_Y_frame_read_status_1.

§mjpeg_y_frame_read_status_2: MJPEG_Y_FRAME_READ_STATUS_2

0x44 - mjpeg_Y_frame_read_status_2.

§mjpeg_y_frame_write_status: MJPEG_Y_FRAME_WRITE_STATUS

0x48 - mjpeg_Y_frame_write_status.

§mjpeg_uv_frame_read_status_1: MJPEG_UV_FRAME_READ_STATUS_1

0x4c - mjpeg_UV_frame_read_status_1.

§mjpeg_uv_frame_read_status_2: MJPEG_UV_FRAME_READ_STATUS_2

0x50 - mjpeg_UV_frame_read_status_2.

§mjpeg_uv_frame_write_status: MJPEG_UV_FRAME_WRITE_STATUS

0x54 - mjpeg_UV_frame_write_status.

§mjpeg_start_addr0: MJPEG_START_ADDR0

0x80 - mjpeg_start_addr0.

§mjpeg_bit_cnt0: MJPEG_BIT_CNT0

0x84 - mjpeg_bit_cnt0.

§mjpeg_start_addr1: MJPEG_START_ADDR1

0x88 - mjpeg_start_addr1.

§mjpeg_bit_cnt1: MJPEG_BIT_CNT1

0x8c - mjpeg_bit_cnt1.

§mjpeg_start_addr2: MJPEG_START_ADDR2

0x90 - mjpeg_start_addr2.

§mjpeg_bit_cnt2: MJPEG_BIT_CNT2

0x94 - mjpeg_bit_cnt2.

§mjpeg_start_addr3: MJPEG_START_ADDR3

0x98 - mjpeg_start_addr3.

§mjpeg_bit_cnt3: MJPEG_BIT_CNT3

0x9c - mjpeg_bit_cnt3.

§mjpeg_start_addr4: MJPEG_START_ADDR4

0xa0 - mjpeg_start_addr4.

§mjpeg_bit_cnt4: MJPEG_BIT_CNT4

0xa4 - mjpeg_bit_cnt4.

§mjpeg_start_addr5: MJPEG_START_ADDR5

0xa8 - mjpeg_start_addr5.

§mjpeg_bit_cnt5: MJPEG_BIT_CNT5

0xac - mjpeg_bit_cnt5.

§mjpeg_start_addr6: MJPEG_START_ADDR6

0xb0 - mjpeg_start_addr6.

§mjpeg_bit_cnt6: MJPEG_BIT_CNT6

0xb4 - mjpeg_bit_cnt6.

§mjpeg_start_addr7: MJPEG_START_ADDR7

0xb8 - mjpeg_start_addr7.

§mjpeg_bit_cnt7: MJPEG_BIT_CNT7

0xbc - mjpeg_bit_cnt7.

§mjpeg_start_addr_8: MJPEG_START_ADDR_8

0xc0 - mjpeg_start_addr_8.

§mjpeg_bit_cnt_8: MJPEG_BIT_CNT_8

0xc4 - mjpeg_bit_cnt_8.

§mjpeg_start_addr_9: MJPEG_START_ADDR_9

0xc8 - mjpeg_start_addr_9.

§mjpeg_bit_cnt_9: MJPEG_BIT_CNT_9

0xcc - mjpeg_bit_cnt_9.

§mjpeg_start_addr_a: MJPEG_START_ADDR_A

0xd0 - mjpeg_start_addr_a.

§mjpeg_bit_cnt_a: MJPEG_BIT_CNT_A

0xd4 - mjpeg_bit_cnt_a.

§mjpeg_start_addr_b: MJPEG_START_ADDR_B

0xd8 - mjpeg_start_addr_b.

§mjpeg_bit_cnt_b: MJPEG_BIT_CNT_B

0xdc - mjpeg_bit_cnt_b.

§mjpeg_start_addr_c: MJPEG_START_ADDR_C

0xe0 - mjpeg_start_addr_c.

§mjpeg_bit_cnt_c: MJPEG_BIT_CNT_C

0xe4 - mjpeg_bit_cnt_c.

§mjpeg_start_addr_d: MJPEG_START_ADDR_D

0xe8 - mjpeg_start_addr_d.

§mjpeg_bit_cnt_d: MJPEG_BIT_CNT_D

0xec - mjpeg_bit_cnt_d.

§mjpeg_start_addr_e: MJPEG_START_ADDR_E

0xf0 - mjpeg_start_addr_e.

§mjpeg_bit_cnt_e: MJPEG_BIT_CNT_E

0xf4 - mjpeg_bit_cnt_e.

§mjpeg_start_addr_f: MJPEG_START_ADDR_F

0xf8 - mjpeg_start_addr_f.

§mjpeg_bit_cnt_f: MJPEG_BIT_CNT_F

0xfc - mjpeg_bit_cnt_f.

§mjpeg_q_mode0: MJPEG_Q_MODE0

0x100 - mjpeg_q_mode0.

§mjpeg_q_mode1: MJPEG_Q_MODE1

0x104 - mjpeg_q_mode1.

§mjpeg_q_mode2: MJPEG_Q_MODE2

0x108 - mjpeg_q_mode2.

§mjpeg_q_mode3: MJPEG_Q_MODE3

0x10c - mjpeg_q_mode3.

§mjpeg_q_mode4: MJPEG_Q_MODE4

0x110 - mjpeg_q_mode4.

§mjpeg_q_mode5: MJPEG_Q_MODE5

0x114 - mjpeg_q_mode5.

§mjpeg_q_mode6: MJPEG_Q_MODE6

0x118 - mjpeg_q_mode6.

§mjpeg_q_mode7: MJPEG_Q_MODE7

0x11c - mjpeg_q_mode7.

§mjpeg_q_mode_8: MJPEG_Q_MODE_8

0x120 - mjpeg_q_mode_8.

§mjpeg_q_mode_9: MJPEG_Q_MODE_9

0x124 - mjpeg_q_mode_9.

§mjpeg_q_mode_a: MJPEG_Q_MODE_A

0x128 - mjpeg_q_mode_a.

§mjpeg_q_mode_b: MJPEG_Q_MODE_B

0x12c - mjpeg_q_mode_b.

§mjpeg_q_mode_c: MJPEG_Q_MODE_C

0x130 - mjpeg_q_mode_c.

§mjpeg_q_mode_d: MJPEG_Q_MODE_D

0x134 - mjpeg_q_mode_d.

§mjpeg_q_mode_e: MJPEG_Q_MODE_E

0x138 - mjpeg_q_mode_e.

§mjpeg_q_mode_f: MJPEG_Q_MODE_F

0x13c - mjpeg_q_mode_f.

§mjpeg_debug: MJPEG_DEBUG

0x1f0 - mjpeg_debug.

§mjpeg_dummy_reg: MJPEG_DUMMY_REG

0x1fc - mjpeg_dummy_reg.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.