|
|
|
|
|
|
|
|
PROGMEM |
|
|
PROGMEM |
|
|
constexpr TwoWire::I2C_Hardware_t TwoWire::i2c1_hardware = { |
|
|
constexpr TwoWire::I2C_Hardware_t TwoWire::i2c1_hardware = { |
|
|
CCM_CCGR2, CCM_CCGR2_LPI2C1(CCM_CCGR_ON), |
|
|
CCM_CCGR2, CCM_CCGR2_LPI2C1(CCM_CCGR_ON), |
|
|
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_00, // 18/A4 AD_B1_01 GPIO1.17 I2C1_SDA |
|
|
|
|
|
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_01, // 19/A5 AD_B1_00 GPIO1.16 I2C1_SCL |
|
|
|
|
|
IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_00, |
|
|
|
|
|
|
|
|
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_01, // 18/A4 AD_B1_01 GPIO1.17 I2C1_SDA |
|
|
|
|
|
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_00, // 19/A5 AD_B1_00 GPIO1.16 I2C1_SCL |
|
|
IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_01, |
|
|
IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_01, |
|
|
|
|
|
IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_00, |
|
|
IOMUXC_LPI2C1_SDA_SELECT_INPUT, |
|
|
IOMUXC_LPI2C1_SDA_SELECT_INPUT, |
|
|
IOMUXC_LPI2C1_SCL_SELECT_INPUT, |
|
|
IOMUXC_LPI2C1_SCL_SELECT_INPUT, |
|
|
3 | 0x10, |
|
|
3 | 0x10, |