Enum nrf52840::pdm::mode::OPERATIONR [−][src]
pub enum OPERATIONR { STEREO, MONO, }
Possible values of the field OPERATION
Variants
STEREO
Sample and store one pair (Left + Right) of 16bit samples per RAM word R=[31:16]; L=[15:0]
MONO
Sample and store two successive Left samples (16 bit each) per RAM word L1=[31:16]; L0=[15:0]
Methods
impl OPERATIONR
[src]
impl OPERATIONR
pub fn bit_is_clear(&self) -> bool
[src]
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
[src]
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
pub fn bit(&self) -> bool
[src]
pub fn bit(&self) -> bool
Value of the field as raw bits
pub fn is_stereo(&self) -> bool
[src]
pub fn is_stereo(&self) -> bool
Checks if the value of the field is STEREO
pub fn is_mono(&self) -> bool
[src]
pub fn is_mono(&self) -> bool
Checks if the value of the field is MONO
Trait Implementations
impl Clone for OPERATIONR
[src]
impl Clone for OPERATIONR
fn clone(&self) -> OPERATIONR
[src]
fn clone(&self) -> OPERATIONR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for OPERATIONR
[src]
impl Copy for OPERATIONR
impl Debug for OPERATIONR
[src]
impl Debug for OPERATIONR
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for OPERATIONR
[src]
impl PartialEq for OPERATIONR
Auto Trait Implementations
impl Send for OPERATIONR
impl Send for OPERATIONR
impl Sync for OPERATIONR
impl Sync for OPERATIONR