Functions
Data Access
Peripheral Driver » LL Driver » MSIO » Functions

## Functions
__STATIC_INLINE uint32_t | ll_msio_read_input_port (void)
| Return full input data register value of MSIO. More...
__STATIC_INLINE uint32_t | ll_msio_is_input_pin_set (uint32_t pin_mask)
| Return if input data level of several MSIO pins is high or low. More...
__STATIC_INLINE void | ll_msio_write_output_port (uint32_t port_value)
| Write output data register of MSIO. More...
__STATIC_INLINE uint32_t | ll_msio_read_output_port (void)
| Return full output data register value of MSIO. More...
__STATIC_INLINE uint32_t | ll_msio_is_output_pin_set (uint32_t pin_mask)
| Return if input data level of several MSIO pins is high or low. More...
__STATIC_INLINE void | ll_msio_set_output_pin (uint32_t pin_mask)
| Set specified MSIO pins to high level. More...
__STATIC_INLINE void | ll_msio_reset_output_pin (uint32_t pin_mask)
| Set specified MSIO pins to low level. More...
__STATIC_INLINE void | ll_msio_toggle_pin (uint32_t pin_mask)
| Toggle data value of specified MSIO pins. More...

## Detailed Description

## Function Documentation

## ◆ ll_msio_is_input_pin_set()

__STATIC_INLINE uint32_t ll_msio_is_input_pin_set | ( | uint32_t | pin_mask | ) |

Return if input data level of several MSIO pins is high or low.

Register | BitsName
--- | ---
MSIO_REG0 | MSIO_C

Parameters

  pin_mask | This parameter can be a combination of the following values: LL_MSIO_PIN_0 LL_MSIO_PIN_1 LL_MSIO_PIN_2 LL_MSIO_PIN_3 LL_MSIO_PIN_4 LL_MSIO_PIN_ALL

Return values

  State | of bit (1 or 0).

## ◆ ll_msio_is_output_pin_set()

__STATIC_INLINE uint32_t ll_msio_is_output_pin_set | ( | uint32_t | pin_mask | ) |

Return if input data level of several MSIO pins is high or low.

Register | BitsName
--- | ---
MSIO_PAD_CFG_0 | IN

Parameters

  pin_mask | This parameter can be a combination of the following values: LL_MSIO_PIN_0 LL_MSIO_PIN_1 LL_MSIO_PIN_2 LL_MSIO_PIN_3 LL_MSIO_PIN_4 LL_MSIO_PIN_ALL

Return values

  State | of bit (1 or 0).

## ◆ ll_msio_read_input_port()

__STATIC_INLINE uint32_t ll_msio_read_input_port | ( | void |  | ) |

Return full input data register value of MSIO.

Register | BitsName
--- | ---
MSIO_REG0 | MSIO_C

Return values

  Input | data register value of port

## ◆ ll_msio_read_output_port()

__STATIC_INLINE uint32_t ll_msio_read_output_port | ( | void |  | ) |

Return full output data register value of MSIO.

Register | BitsName
--- | ---
MSIO_PAD_CFG_0 | IN

Return values

  Output | data register value of port

## ◆ ll_msio_reset_output_pin()

__STATIC_INLINE void ll_msio_reset_output_pin | ( | uint32_t | pin_mask | ) |

Set specified MSIO pins to low level.

Register | BitsName
--- | ---
MSIO_PAD_CFG_0 | IN

Parameters

  pin_mask | This parameter can be a combination of the following values: LL_MSIO_PIN_0 LL_MSIO_PIN_1 LL_MSIO_PIN_2 LL_MSIO_PIN_3 LL_MSIO_PIN_4 LL_MSIO_PIN_ALL

Return values

  None |

## ◆ ll_msio_set_output_pin()

__STATIC_INLINE void ll_msio_set_output_pin | ( | uint32_t | pin_mask | ) |

Set specified MSIO pins to high level.

Register | BitsName
--- | ---
MSIO_PAD_CFG_0 | IN

Parameters

  pin_mask | This parameter can be a combination of the following values: LL_MSIO_PIN_0 LL_MSIO_PIN_1 LL_MSIO_PIN_2 LL_MSIO_PIN_3 LL_MSIO_PIN_4 LL_MSIO_PIN_ALL

Return values

  None |

## ◆ ll_msio_toggle_pin()

__STATIC_INLINE void ll_msio_toggle_pin | ( | uint32_t | pin_mask | ) |

Toggle data value of specified MSIO pins.

Register | BitsName
--- | ---
MSIO_PAD_CFG_0 | IN

Parameters

  pin_mask | This parameter can be a combination of the following values: LL_MSIO_PIN_0 LL_MSIO_PIN_1 LL_MSIO_PIN_2 LL_MSIO_PIN_3 LL_MSIO_PIN_4 LL_MSIO_PIN_ALL

Return values

  None |

## ◆ ll_msio_write_output_port()

__STATIC_INLINE void ll_msio_write_output_port | ( | uint32_t | port_value | ) |

Write output data register of MSIO.

Register | BitsName
--- | ---
MSIO_PAD_CFG_0 | IN

Parameters

  port_value | Level value for each pin of the port

Return values

  None |