AnsweredAssumed Answered

STM32L4 SPI UART __IO divergence ?

Question asked by Noyb on Mar 23, 2016
Latest reply on Jun 29, 2016 by Amel N
stm32l4xx_hal_spi.h

  HAL_SPI_StateTypeDef    State;          /* SPI communication state        */
  uint32_t                ErrorCode;      /* SPI Error code                 */

stm32l4xx_hal_uart.h

  __IO HAL_UART_StateTypeDef    State;       /*!< UART communication state           */
  __IO uint32_t             ErrorCode;       /*!< UART Error code                    */

Why it is __IO in UART and not in SPI ?

Outcomes