Reading pins of a port in one line of code
Posted on October 14, 2015 at 05:17I am working on project which is generated by Cube and uses HAL drivers. I require to read states of a number of pins on a port. Currently I am doing like this: //read PC0 to PC7 to check for state (on or off) re...