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

No clock source (Timer/Counter stopped)

clk/1 (No Prescaler)

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

Methods

impl CSR
[src]

Value of the field as raw bits

Checks if the value of the field is STOPPED

Checks if the value of the field is CLK

Checks if the value of the field is CLK_2

Checks if the value of the field is CLK_4

Checks if the value of the field is CLK_8

Checks if the value of the field is CLK_16

Checks if the value of the field is CLK_32

Checks if the value of the field is CLK_64

Checks if the value of the field is CLK_128

Checks if the value of the field is CLK_256

Checks if the value of the field is CLK_512

Checks if the value of the field is CLK_1024

Checks if the value of the field is CLK_2048

Checks if the value of the field is CLK_4096

Checks if the value of the field is CLK_8192

Checks if the value of the field is CLK_16384

Trait Implementations

impl Clone for CSR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for CSR
[src]

impl Debug for CSR
[src]

Formats the value using the given formatter. Read more

impl PartialEq for CSR
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for CSR

impl Sync for CSR