aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/i2c.c
diff options
context:
space:
mode:
authorNicolas Schodet2012-05-31 00:08:23 +0200
committerNicolas Schodet2012-05-31 00:08:23 +0200
commit12a73ce052477ef9d35244e2986a7e56428754df (patch)
treee06dfda23bda37a69477ec1da67d86674fad7b72 /lib/stm32/i2c.c
parent7011d47c70076f995e8470c59eeaa8f3efcc9f05 (diff)
Use ODR instead of IDR to toggle an output GPIO
IDR represents the level on pin input while ODR is the value requested by the programmer. This makes a difference for example when using the output as open drain.
Diffstat (limited to 'lib/stm32/i2c.c')
0 files changed, 0 insertions, 0 deletions