Enum stm32f103xx::rcc::cfgr::ADCPRER[][src]

pub enum ADCPRER {
    DIV2,
    DIV4,
    DIV6,
    DIV8,
}

Possible values of the field ADCPRE

Variants

PCLK2 divided by 2

PCLK2 divided by 4

PCLK2 divided by 6

PCLK2 divided by 8

Methods

impl ADCPRER
[src]

Value of the field as raw bits

Checks if the value of the field is DIV2

Checks if the value of the field is DIV4

Checks if the value of the field is DIV6

Checks if the value of the field is DIV8

Trait Implementations

impl Clone for ADCPRER
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ADCPRER
[src]

impl Debug for ADCPRER
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ADCPRER
[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 ADCPRER

impl Sync for ADCPRER