pub fn new(id: String, interrupt: Arc<dyn InterruptSourceGroup>) -> Self {
        Self {
            id,
            data: 0,
            old_in_data: 0,
            dir: 0,
            isense: 0,
            ibe: 0,
            iev: 0,
            im: 0,
            istate: 0,
            afsel: 0,
            interrupt,
        }
    }
/// Constructs an PL061 GPIO device.
Constructs an PL061 GPIO device.
Constructs an PL061 GPIO device .
pub fn new(id: String, interrupt: Arc<dyn InterruptSourceGroup>) -> Self {
        Self {
            id,
            data: 0,
            old_in_data: 0,
            dir: 0,
            isense: 0,
            ibe: 0,
            iev: 0,
            im: 0,
            istate: 0,
            afsel: 0,
            interrupt,
        }
    }
pub fn new ( id : String , interrupt : Arc < dyn InterruptSourceGroup > ) -> Self { Self { id , data : 0 , old_in_data : 0 , dir : 0 , isense : 0 , ibe : 0 , iev : 0 , im : 0 , istate : 0 , afsel : 0 , interrupt , } }
Constructs an PL061 GPIO device.
Constructs an PL061 GPIO device .
id
String
interrupt
Arc<dyn InterruptSourceGroup>
id
String
interrupt
Arc<dyn InterruptSourceGroup>