diff options
Diffstat (limited to 'os/hal/ports/NRF5/LLD/TWIMv1/hal_i2c_lld.h')
-rw-r--r-- | os/hal/ports/NRF5/LLD/TWIMv1/hal_i2c_lld.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/NRF5/LLD/TWIMv1/hal_i2c_lld.h b/os/hal/ports/NRF5/LLD/TWIMv1/hal_i2c_lld.h index fb88a5e..a73efc7 100644 --- a/os/hal/ports/NRF5/LLD/TWIMv1/hal_i2c_lld.h +++ b/os/hal/ports/NRF5/LLD/TWIMv1/hal_i2c_lld.h @@ -113,6 +113,10 @@ typedef struct { uint8_t scl_pad;
/* @brief Pad number for SDA */
uint8_t sda_pad;
+ /* @brief Whether to use the internal pull-up for SCL */
+ bool scl_pullup;
+ /* @brief Whether to use the internal pull-up for SDA */
+ bool sda_pullup;
} I2CConfig;
|