STM32 SPL

From ElectroDragon Wiki
Revision as of 01:45, 7 March 2021 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Update to HAL

  • GPIO_ResetBits(GPIOD, GPIO_Pin_10) -> HAL_GPIO_WritePin(GPIOA, GPIO_PIN_3, GPIO_PIN_RESET)
  • GPIO_SetBits(GPIOD, GPIO_Pin_10) -> HAL_GPIO_WritePin(GPIOA, GPIO_PIN_3, GPIO_PIN_SET)


read

  • GPIO_ReadInputDataBit(GPIOE, GPIO_Pin_13) -> HAL_GPIO_ReadPin(GPIOA, GPIO_PIN_8)

Note

  • SPL is not available for STML0 anymore