[−][src]Function stm32f3xx_hal_v2::exti::setup_gpio
pub fn setup_gpio(syscfg: &mut SYSCFG, gpio_reg: GpioReg, line: u8)
Configure a GPIO to work with an interrupt line.
The line
parameter corresponds to both the interrupt line, and the
GPIO number. Eg, 3
means line3
, and px3
.
Reference man section 12.1.3 of the datasheet for a breakdown by CR
and line.