Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
gpio_api.h: Clarify desired behaviour for NC #10489
Documentation clarified, and platforms that don't conform brought into line. Simple test added.
Pull request type
referenced this pull request
Apr 29, 2019
Most, but not all, implement it. As
So I would say this and target updates and test should go for patch release.
I can look at tests and target updates later this week.
Created a test, and waiting for its results, but by inspection, ARM SSG/FM, Atmel, RTL8195A, EFM32, TT, Wiznet and Ublox HI2110 do not handle NC as specified here.
The rest do.
(It's worth noting that gpio_irq_api does not incorporate this behaviour, and does not have a
I've got commits for a test + changing targets (https://github.com/kjbracey-arm/mbed-os/commits/gpio_api_nc_test). Can incorporate those into this PR, or as one or more follow-ups.