mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
boards/nucleo-l1: added PU to I2C config
This commit is contained in:
parent
7d53847e61
commit
03efb5be99
@ -254,9 +254,9 @@ static const timer_conf_t timer_config[] = {
|
||||
|
||||
static const i2c_conf_t i2c_config[] = {
|
||||
/* device, port, scl-, sda-pin-number, I2C-AF, ER-IRQn, EV-IRQn */
|
||||
{I2C1, GPIO_PIN(PORT_B, 8), GPIO_PIN(PORT_B, 9),
|
||||
{I2C1, GPIO_PIN(PORT_B, 8), GPIO_PIN(PORT_B, 9), GPIO_OD_PU,
|
||||
GPIO_AF4, I2C1_ER_IRQn, I2C1_EV_IRQn},
|
||||
{I2C2, GPIO_PIN(PORT_B, 10), GPIO_PIN(PORT_B, 11),
|
||||
{I2C2, GPIO_PIN(PORT_B, 10), GPIO_PIN(PORT_B, 11), GPIO_OD_PU,
|
||||
GPIO_AF4, I2C2_ER_IRQn, I2C2_EV_IRQn},
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user