Skip to content

GPIO enhancement #368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Nov 16, 2018
Merged

GPIO enhancement #368

merged 11 commits into from
Nov 16, 2018

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Nov 5, 2018

Fix #274

  • Clean up the digital code part
  • Use LL instead of HAL for read/Write
  • Add digitalToggle API
  • Add digital(Read|Write|Toggle)Fast API (using PinName PY_n)
  • Enhance get_GPIO_Port (macro instead of a function)

@fpistm fpistm added the enhancement New feature or request label Nov 5, 2018
@fpistm fpistm self-assigned this Nov 5, 2018
@fpistm fpistm added this to the 1.5.0 milestone Nov 5, 2018
@fpistm fpistm added the on going Currently work on this label Nov 5, 2018
User have to ensure the pin is configured.

Signed-off-by: Frederic.Pillon <[email protected]>
Signed-off-by: Frederic.Pillon <[email protected]>
Signed-off-by: Frederic.Pillon <[email protected]>
Use the PinName (PY_n) instead of the pin number (Pyn)

Signed-off-by: Frederic.Pillon <[email protected]>
Signed-off-by: Frederic.Pillon <[email protected]>
Signed-off-by: Frederic.Pillon <[email protected]>
Signed-off-by: Frederic.Pillon <[email protected]>
Signed-off-by: Frederic.Pillon <[email protected]>
This will cause hard fault if used so check if NC can be removed

Signed-off-by: Frederic.Pillon <[email protected]>
For F1 LL_GPIO_PIN_X is not the same than GPIO_PIN_X

Signed-off-by: Frederic.Pillon <[email protected]>
@fpistm fpistm merged commit ddfcab8 into stm32duino:master Nov 16, 2018
@fpistm fpistm deleted the GPIO_enhancement branch November 16, 2018 13:45
@fpistm fpistm removed the on going Currently work on this label Nov 16, 2018
benwaffle pushed a commit to benwaffle/Arduino_Core_STM32 that referenced this pull request Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants