Enum atmega32u4::timer4::tccr_b::CSR [−][src]
pub enum CSR { STOPPED, CLK, CLK_2, CLK_4, CLK_8, CLK_16, CLK_32, CLK_64, CLK_128, CLK_256, CLK_512, CLK_1024, CLK_2048, CLK_4096, CLK_8192, CLK_16384, }
Possible values of the field CS
Variants
STOPPED
No clock source (Timer/Counter stopped)
CLK
clk/1 (No Prescaler)
CLK_2
clk/2
CLK_4
clk/4
CLK_8
clk/8
CLK_16
clk/16
CLK_32
clk/32
CLK_64
clk/64
CLK_128
clk/128
CLK_256
clk/256
CLK_512
clk/512
CLK_1024
clk/1024
CLK_2048
clk/2048
CLK_4096
clk/4096
CLK_8192
clk/8192
CLK_16384
clk/16384
Methods
impl CSR
[src]
impl CSR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_stopped(&self) -> bool
[src]
pub fn is_stopped(&self) -> bool
Checks if the value of the field is STOPPED
pub fn is_clk(&self) -> bool
[src]
pub fn is_clk(&self) -> bool
Checks if the value of the field is CLK
pub fn is_clk_2(&self) -> bool
[src]
pub fn is_clk_2(&self) -> bool
Checks if the value of the field is CLK_2
pub fn is_clk_4(&self) -> bool
[src]
pub fn is_clk_4(&self) -> bool
Checks if the value of the field is CLK_4
pub fn is_clk_8(&self) -> bool
[src]
pub fn is_clk_8(&self) -> bool
Checks if the value of the field is CLK_8
pub fn is_clk_16(&self) -> bool
[src]
pub fn is_clk_16(&self) -> bool
Checks if the value of the field is CLK_16
pub fn is_clk_32(&self) -> bool
[src]
pub fn is_clk_32(&self) -> bool
Checks if the value of the field is CLK_32
pub fn is_clk_64(&self) -> bool
[src]
pub fn is_clk_64(&self) -> bool
Checks if the value of the field is CLK_64
pub fn is_clk_128(&self) -> bool
[src]
pub fn is_clk_128(&self) -> bool
Checks if the value of the field is CLK_128
pub fn is_clk_256(&self) -> bool
[src]
pub fn is_clk_256(&self) -> bool
Checks if the value of the field is CLK_256
pub fn is_clk_512(&self) -> bool
[src]
pub fn is_clk_512(&self) -> bool
Checks if the value of the field is CLK_512
pub fn is_clk_1024(&self) -> bool
[src]
pub fn is_clk_1024(&self) -> bool
Checks if the value of the field is CLK_1024
pub fn is_clk_2048(&self) -> bool
[src]
pub fn is_clk_2048(&self) -> bool
Checks if the value of the field is CLK_2048
pub fn is_clk_4096(&self) -> bool
[src]
pub fn is_clk_4096(&self) -> bool
Checks if the value of the field is CLK_4096
pub fn is_clk_8192(&self) -> bool
[src]
pub fn is_clk_8192(&self) -> bool
Checks if the value of the field is CLK_8192
pub fn is_clk_16384(&self) -> bool
[src]
pub fn is_clk_16384(&self) -> bool
Checks if the value of the field is CLK_16384
Trait Implementations
impl Clone for CSR
[src]
impl Clone for CSR
fn clone(&self) -> CSR
[src]
fn clone(&self) -> CSR
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)
Performs copy-assignment from source
. Read more
impl Copy for CSR
[src]
impl Copy for CSR
impl Debug for CSR
[src]
impl Debug for CSR
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 CSR
[src]
impl PartialEq for CSR