MSIO Read, Write, and Toggle management functions.
More...
MSIO Read, Write, and Toggle management functions.
◆ hal_msio_read_pin()
Read the specified input port pin.
- Parameters
-
[in] | msio_pin | Specifies the port bit to be read. This parameter can be one of the following values:
|
- Return values
-
◆ hal_msio_toggle_pin()
void hal_msio_toggle_pin |
( |
uint16_t |
msio_pin | ) |
|
Toggle the specified MSIO pin.
- Parameters
-
[in] | msio_pin | Specifies the pin to be toggled. This parameter can be a combination of the following values:
|
◆ hal_msio_write_pin()
Set or clear the selected data port bit.
- Parameters
-
[in] | msio_pin | Specifies the port bit to be written. This parameter can be a combination of the following values:
|
[in] | pin_state | Specifies the value to be written to the selected bit. This parameter can be one of the MSIO_PinState enum values:
- MSIO_PIN_RESET: to clear the port pin
- MSIO_PIN_SET: to set the port pin
|