Commit 83be45f7 authored by Adam Wujek's avatar Adam Wujek

test_master/atmel_start_prj: add pullups for i2c pins

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 1ba0f921
Pipeline #3875 passed with stage
in 1 minute and 22 seconds
......@@ -755,13 +755,15 @@ pads:
definition: Atmel:SAMD21_Drivers:0.0.1::SAMD21G18A-MF::pad::PA22
mode: I2C
user_label: PA22
configuration: null
configuration:
pad_pull_config: Pull-up
PA23:
name: PA23
definition: Atmel:SAMD21_Drivers:0.0.1::SAMD21G18A-MF::pad::PA23
mode: I2C
user_label: PA23
configuration: null
configuration:
pad_pull_config: Pull-up
PA24:
name: PA24
definition: Atmel:SAMD21_Drivers:0.0.1::SAMD21G18A-MF::pad::PA24
......
......@@ -50,7 +50,7 @@ void I2C_0_PORT_init(void)
// <GPIO_PULL_OFF"> Off
// <GPIO_PULL_UP"> Pull-up
// <GPIO_PULL_DOWN"> Pull-down
GPIO_PULL_OFF);
GPIO_PULL_UP);
gpio_set_pin_function(PA22, PINMUX_PA22C_SERCOM3_PAD0);
......@@ -60,7 +60,7 @@ void I2C_0_PORT_init(void)
// <GPIO_PULL_OFF"> Off
// <GPIO_PULL_UP"> Pull-up
// <GPIO_PULL_DOWN"> Pull-down
GPIO_PULL_OFF);
GPIO_PULL_UP);
gpio_set_pin_function(PA23, PINMUX_PA23C_SERCOM3_PAD1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment