Skip to content
Commit 59359595 authored by Jeff Blais's avatar Jeff Blais Committed by Gerrit Code Review
Browse files

pinmux: Expand the pin function/mode parameter size



The pinmux API was modified to expand the meaning of the 'func' argument
to allow it to represent more than a pre-configured function.  This was done
to reasonably accommodate a larger range of pin configuration options
offered by other MCUs, such as the Freescale K64 (up to 8 pin functions,
plus interrupt, pullup/down, drive strength, open-drain, slew rate, etc.).

This allows bit fields to be used to define various settings.

Change-Id: I2b216b822c6bae7133eed01c8c3339bb47b6c5db
Signed-off-by: default avatarJeff Blais <jeff.blais@windriver.com>
parent 0fd7af2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment