Trait ConfigurationRequest

Source
pub trait ConfigurationRequest {
    // Required methods
    fn req_id(&self) -> u16;
    fn tag(&self) -> u8;
    fn bus_nr(&self) -> u8;
    fn dev_nr(&self) -> u8;
    fn func_nr(&self) -> u8;
    fn ext_reg_nr(&self) -> u8;
    fn reg_nr(&self) -> u8;
}
Expand description

Configuration Request Trait: Configuration Requests Headers are always same size (3DW), this trait is provided to have same API as other headers with variable size

Required Methods§

Source

fn req_id(&self) -> u16

Source

fn tag(&self) -> u8

Source

fn bus_nr(&self) -> u8

Source

fn dev_nr(&self) -> u8

Source

fn func_nr(&self) -> u8

Source

fn ext_reg_nr(&self) -> u8

Source

fn reg_nr(&self) -> u8

Implementors§