Type Alias d1_pac::csic::csic_parser0::prs_cap::CH_VCAP_ON_W

source ·
pub type CH_VCAP_ON_W<'a, const O: u8> = BitWriter<'a, u32, PRS_CAP_SPEC, CH_VCAP_ON_A, O>;
Expand description

Field ch_vcap_on[0-3] writer - Video capture control: Capture the video image data stream on channel [i].

Aliased Type§

struct CH_VCAP_ON_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> CH_VCAP_ON_W<'a, O>

source

pub fn disable(self) -> &'a mut W

Disable video capture

If video capture is in progress, the CSI stops capturing image data at the end of the current frame, and all of the current frame data is written to output FIFO.

source

pub fn enable(self) -> &'a mut W

Enable video capture

The CSI starts capturing image data at the start of the next frame.