Skip to content
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

Post-conditions in GPIO are wrong #24

Closed
lambourg opened this issue May 22, 2016 · 1 comment
Closed

Post-conditions in GPIO are wrong #24

lambourg opened this issue May 22, 2016 · 1 comment
Labels

Comments

@lambourg
Copy link
Member

There's at least one post condition in the GPIO that is invalid:
overriding
procedure Set (This : in out GPIO_Point) with
Inline,
Post => Set (This);

Sometimes, setting a pin to a particular value will have no effect if the output is Open Drain, but is not erroneous either.

@pat-rogers
Copy link
Contributor

OK, I can believe that. Any others?
The only ones that are significant are those for whether a pin configuration is locked, as there is no other check and so only via debug will a user know that an attempt to configure a pin(s) will have no effect.

Fabien-Chouteau added a commit that referenced this issue May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants