drivers: pinctrl: updated to add interrupt direction
Updated to add pinctrl interrupt direction Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
This commit is contained in:
parent
2db45fca9c
commit
4af3d1005b
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ static void pinctrl_configure_pin(const pinctrl_soc_pin_t *pin)
|
|||
pin_config.GP.cfg_b.eDriveStrength = pin->drive_strength;
|
||||
pin_config.GP.cfg_b.uSlewRate = pin->slew_rate;
|
||||
pin_config.GP.cfg_b.uNCE = pin->iom_nce;
|
||||
pin_config.GP.cfg_b.eIntDir = pin->interrupt_direction;
|
||||
|
||||
if (pin->bias_pull_up) {
|
||||
pin_config.GP.cfg_b.ePullup = pin->ambiq_pull_up_ohms + AM_HAL_GPIO_PIN_PULLUP_1_5K;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue