☰
GpioSet
Methods
irq_acknowledge_all
irq_disable_all
irq_restore_all
irq_set_trigger
set_enabled
set_enabled_all
set_enabled_masked
set_input_noise_filter
write
write_all
write_masked
In opentitanlib::test_utils::gpio
?
Type Definition
opentitanlib
::
test_utils
::
gpio
::
GpioSet
source
·
[
−
]
pub type GpioSet =
gpio_set_t
;
Implementations
§
source
§
impl
GpioSet
source
pub fn
write
(uart: &dyn
Uart
, pin:
u32
, state:
bool
) ->
Result
<
()
>
source
pub fn
set_enabled
(uart: &dyn
Uart
, pin:
u32
, state:
bool
) ->
Result
<
()
>
source
pub fn
write_all
(uart: &dyn
Uart
, state:
u32
) ->
Result
<
()
>
source
pub fn
set_enabled_all
(uart: &dyn
Uart
, state:
u32
) ->
Result
<
()
>
source
pub fn
write_masked
(uart: &dyn
Uart
, mask:
u32
, state:
u32
) ->
Result
<
()
>
source
pub fn
set_enabled_masked
(uart: &dyn
Uart
, mask:
u32
, state:
u32
) ->
Result
<
()
>
source
pub fn
set_input_noise_filter
( uart: &dyn
Uart
, mask:
u32
, state:
u32
) ->
Result
<
()
>
source
pub fn
irq_restore_all
(uart: &dyn
Uart
, state:
u32
) ->
Result
<
()
>
source
pub fn
irq_disable_all
(uart: &dyn
Uart
, state:
u32
) ->
Result
<
()
>
source
pub fn
irq_acknowledge_all
(uart: &dyn
Uart
) ->
Result
<
()
>
source
pub fn
irq_set_trigger
( uart: &dyn
Uart
, state:
u32
, trigger:
String
) ->
Result
<
()
>