pub struct TVE { /* private fields */ }Expand description
TV Encoder
Implementations§
Source§impl TVE
impl TVE
Sourcepub const PTR: *const RegisterBlock = {0x5604000 as *const tve::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x5604000 as *const tve::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 tve_clock_gating(&self) -> &TVE_CLOCK_GATING
pub fn tve_clock_gating(&self) -> &TVE_CLOCK_GATING
0x00 - TV Encoder Clock Gating Register
Sourcepub fn tve_configuration(&self) -> &TVE_CONFIGURATION
pub fn tve_configuration(&self) -> &TVE_CONFIGURATION
0x04 - TV Encoder Configuration Register
Sourcepub fn tve_notch_dac_delay(&self) -> &TVE_NOTCH_DAC_DELAY
pub fn tve_notch_dac_delay(&self) -> &TVE_NOTCH_DAC_DELAY
0x0c - TV Encoder Notch and DAC Delay Register
Sourcepub fn tve_chroma_frequency(&self) -> &TVE_CHROMA_FREQUENCY
pub fn tve_chroma_frequency(&self) -> &TVE_CHROMA_FREQUENCY
0x10 - TV Encoder Chroma Frequency Register
Sourcepub fn tve_front_back_porch(&self) -> &TVE_FRONT_BACK_PORCH
pub fn tve_front_back_porch(&self) -> &TVE_FRONT_BACK_PORCH
0x14 - TV Encoder Front/Back Porch Register
Sourcepub fn tve_hd_vsync(&self) -> &TVE_HD_VSYNC
pub fn tve_hd_vsync(&self) -> &TVE_HD_VSYNC
0x18 - TV Encoder HD Mode VSYNC Register
Sourcepub fn tve_line_number(&self) -> &TVE_LINE_NUMBER
pub fn tve_line_number(&self) -> &TVE_LINE_NUMBER
0x1c - TV Encoder Line Number Register
Sourcepub fn tve_auto_detection_enable(&self) -> &TVE_AUTO_DETECTION_ENABLE
pub fn tve_auto_detection_enable(&self) -> &TVE_AUTO_DETECTION_ENABLE
0x30 - TV Encoder Auto Detection Enable Register
Sourcepub fn tve_auto_detection_interrupt_status(
&self,
) -> &TVE_AUTO_DETECTION_INTERRUPT_STATUS
pub fn tve_auto_detection_interrupt_status( &self, ) -> &TVE_AUTO_DETECTION_INTERRUPT_STATUS
0x34 - TV Encoder Auto Detection Interrupt Status Register
Sourcepub fn tve_auto_detection_status(&self) -> &TVE_AUTO_DETECTION_STATUS
pub fn tve_auto_detection_status(&self) -> &TVE_AUTO_DETECTION_STATUS
0x38 - TV Encoder Auto Detection Status Register
Sourcepub fn tve_auto_detection_debounce_setting(
&self,
) -> &TVE_AUTO_DETECTION_DEBOUNCE_SETTING
pub fn tve_auto_detection_debounce_setting( &self, ) -> &TVE_AUTO_DETECTION_DEBOUNCE_SETTING
0x3c - TV Encoder Auto Detection De-bounce Setting Register
Sourcepub fn tve_auto_detect_cfg0(&self) -> &TVE_AUTO_DETECT_CFG0
pub fn tve_auto_detect_cfg0(&self) -> &TVE_AUTO_DETECT_CFG0
0xf8 - TV Encoder Auto Detect Configuration Register0
Sourcepub fn tve_auto_detect_cfg1(&self) -> &TVE_AUTO_DETECT_CFG1
pub fn tve_auto_detect_cfg1(&self) -> &TVE_AUTO_DETECT_CFG1
0xfc - TV Encoder Auto Detect Configuration Register1
Sourcepub fn tve_color_burst_phase_reset_cfg(
&self,
) -> &TVE_COLOR_BURST_PHASE_RESET_CFG
pub fn tve_color_burst_phase_reset_cfg( &self, ) -> &TVE_COLOR_BURST_PHASE_RESET_CFG
0x100 - TV Encoder Color Burst Phase Reset Configuration Register
Sourcepub fn tve_vsync_number(&self) -> &TVE_VSYNC_NUMBER
pub fn tve_vsync_number(&self) -> &TVE_VSYNC_NUMBER
0x104 - TV Encoder VSYNC Number Register
Sourcepub fn tve_notch_filter_frequency(&self) -> &TVE_NOTCH_FILTER_FREQUENCY
pub fn tve_notch_filter_frequency(&self) -> &TVE_NOTCH_FILTER_FREQUENCY
0x108 - TV Encoder Notch Filter Frequency Register
Sourcepub fn tve_cbcr_level_gain(&self) -> &TVE_CBCR_LEVEL_GAIN
pub fn tve_cbcr_level_gain(&self) -> &TVE_CBCR_LEVEL_GAIN
0x10c - TV Encoder Cb/Cr Level/Gain Register
Sourcepub fn tve_tint_color_burst_phase(&self) -> &TVE_TINT_COLOR_BURST_PHASE
pub fn tve_tint_color_burst_phase(&self) -> &TVE_TINT_COLOR_BURST_PHASE
0x110 - TV Encoder Tint and Color Burst Phase Register
Sourcepub fn tve_burst_width(&self) -> &TVE_BURST_WIDTH
pub fn tve_burst_width(&self) -> &TVE_BURST_WIDTH
0x114 - TV Encoder Burst Width Register
Sourcepub fn tve_cbcr_gain(&self) -> &TVE_CBCR_GAIN
pub fn tve_cbcr_gain(&self) -> &TVE_CBCR_GAIN
0x118 - TV Encoder Cb/Cr Gain Register
Sourcepub fn tve_sync_vbi_level(&self) -> &TVE_SYNC_VBI_LEVEL
pub fn tve_sync_vbi_level(&self) -> &TVE_SYNC_VBI_LEVEL
0x11c - TV Encoder Sync and VBI Level Register
Sourcepub fn tve_white_level(&self) -> &TVE_WHITE_LEVEL
pub fn tve_white_level(&self) -> &TVE_WHITE_LEVEL
0x120 - TV Encoder White Level Register
Sourcepub fn tve_video_active_line(&self) -> &TVE_VIDEO_ACTIVE_LINE
pub fn tve_video_active_line(&self) -> &TVE_VIDEO_ACTIVE_LINE
0x124 - TV Encoder Video Active Line Register
Sourcepub fn tve_video_chroma_bw_comp_gain(&self) -> &TVE_VIDEO_CHROMA_BW_COMP_GAIN
pub fn tve_video_chroma_bw_comp_gain(&self) -> &TVE_VIDEO_CHROMA_BW_COMP_GAIN
0x128 - TV Encoder Video Chroma BW and CompGain Register
Sourcepub fn tve_notch_width_comp_yuv_en(&self) -> &TVE_NOTCH_WIDTH_COMP_YUV_EN
pub fn tve_notch_width_comp_yuv_en(&self) -> &TVE_NOTCH_WIDTH_COMP_YUV_EN
0x12c - TV Encoder Register
Sourcepub fn tve_resync_parameters(&self) -> &TVE_RESYNC_PARAMETERS
pub fn tve_resync_parameters(&self) -> &TVE_RESYNC_PARAMETERS
0x130 - TV Encoder Re-sync Parameters Register
Sourcepub fn tve_slave_parameter(&self) -> &TVE_SLAVE_PARAMETER
pub fn tve_slave_parameter(&self) -> &TVE_SLAVE_PARAMETER
0x134 - TV Encoder Slave Parameter Register
Sourcepub fn tve_configuration0(&self) -> &TVE_CONFIGURATION0
pub fn tve_configuration0(&self) -> &TVE_CONFIGURATION0
0x138 - TV Encoder Configuration Register0
Sourcepub fn tve_configuration1(&self) -> &TVE_CONFIGURATION1
pub fn tve_configuration1(&self) -> &TVE_CONFIGURATION1
0x13c - TV Encoder Configuration Register1
Sourcepub fn tve_low_pass_control(&self) -> &TVE_LOW_PASS_CONTROL
pub fn tve_low_pass_control(&self) -> &TVE_LOW_PASS_CONTROL
0x380 - TV Encoder Low Pass Control Register
Sourcepub fn tve_low_pass_filter_control(&self) -> &TVE_LOW_PASS_FILTER_CONTROL
pub fn tve_low_pass_filter_control(&self) -> &TVE_LOW_PASS_FILTER_CONTROL
0x384 - TV Encoder Low Pass Filter Control Register
Sourcepub fn tve_low_pass_gain(&self) -> &TVE_LOW_PASS_GAIN
pub fn tve_low_pass_gain(&self) -> &TVE_LOW_PASS_GAIN
0x388 - TV Encoder Low Pass Gain Register
Sourcepub fn tve_low_pass_gain_control(&self) -> &TVE_LOW_PASS_GAIN_CONTROL
pub fn tve_low_pass_gain_control(&self) -> &TVE_LOW_PASS_GAIN_CONTROL
0x38c - TV Encoder Low Pass Gain Control Register
Sourcepub fn tve_low_pass_shoot_control(&self) -> &TVE_LOW_PASS_SHOOT_CONTROL
pub fn tve_low_pass_shoot_control(&self) -> &TVE_LOW_PASS_SHOOT_CONTROL
0x390 - TV Encoder Low Pass Shoot Control Register
Sourcepub fn tve_low_pass_coring(&self) -> &TVE_LOW_PASS_CORING
pub fn tve_low_pass_coring(&self) -> &TVE_LOW_PASS_CORING
0x394 - TV Encoder Low Pass Coring Register
Sourcepub fn tve_noise_reduction(&self) -> &TVE_NOISE_REDUCTION
pub fn tve_noise_reduction(&self) -> &TVE_NOISE_REDUCTION
0x3a0 - TV Encoder Noise Reduction Register