aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/NRF5/LLD/TWIv1/hal_i2c_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/NRF5/LLD/TWIv1/hal_i2c_lld.h')
-rw-r--r--os/hal/ports/NRF5/LLD/TWIv1/hal_i2c_lld.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/NRF5/LLD/TWIv1/hal_i2c_lld.h b/os/hal/ports/NRF5/LLD/TWIv1/hal_i2c_lld.h
index 7a4050b..f126983 100644
--- a/os/hal/ports/NRF5/LLD/TWIv1/hal_i2c_lld.h
+++ b/os/hal/ports/NRF5/LLD/TWIv1/hal_i2c_lld.h
@@ -121,6 +121,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;