Enum lpc43xx::usb1::usbsts_h::FRIR
[−]
[src]
pub enum FRIR { ST, CLEAR, }
Possible values of the field FRI
Variants
ST
This bit is cleared by software writing a one to it.
CLEAR
The Host Controller sets this bit to a one when the Frame List Index rolls over from its maximum value to zero. The exact value at which the rollover occurs depends on the frame list size. For example, if the frame list size (as programmed in the Frame List Size field of the USBCMD register) is 1024, the Frame Index Register rolls over every time FRINDEX [13] toggles. Similarly, if the size is 512, the Host Controller sets this bit to a one every time FRINDEX bit 12 toggles (see Section 19.6.5).
Methods
impl FRIR
[src]
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits
pub fn is_st(&self) -> bool
[src]
Checks if the value of the field is ST
pub fn is_clear(&self) -> bool
[src]
Checks if the value of the field is CLEAR
Trait Implementations
impl Clone for FRIR
[src]
fn clone(&self) -> FRIR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for FRIR
[src]
impl Debug for FRIR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more