Struct imxrt_iomuxc::Pad [−][src]
pub struct Pad<Base, Offset> { /* fields omitted */ }
Expand description
An i.MXT RT pad
The Base
is the pad tag, like AD_B0
. The Offset
is the
constant (type) that describes the pad number.
Pad
s have no size.
Implementations
Set the alternate value for this pad.
Performs a read-modify-write on the pad’s mux register to set the
alternate value to alt
.
Safety
This function performs a read-modify-write operation on peripheral
memory. It could race with other calls that modify this pad’s mux register.
For a safer interface, see alternate()
.
Set the pad’s SION bit.
Performs a read-modify-write on the pad’s mux register to set the SION bit.
Safety
This function performs a read-modify-write operation on peripheral
memory. It could race with other calls that modify this pad’s mux register.
For a safer interface, see set_sion()
.
Clear the pad’s SION bit.
Performs a read-modify-write on the pad’s mux register to Clear the SION bit.
Safety
This function performs a read-modify-write operation on peripheral
memory. It could race with other calls that modify this pad’s mux register.
For a safer interface, see clear_sion()
.
Set the pad’s configuration.
Safety
This function performs a read-modify-write operation on peripheral memory.
It could race with any other function that modifies this pad’s registers.
For a safer interface, see configure()
.