Skip to content
Commit eb6ea286 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

gpio: enable callback to specify pin in addition to pin_mask



There are GPIO controllers that can control more than 32 pins.
The pin_mask is no longer adequate in this case. This wraps
the pin_mask in a union together with a field named 'pin'.
The driver is responsible for choosing whether to use
pin_mask or pin.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 2f0282a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment