I2C. Testhal updated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.4.x@4559 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
49dc5c53d8
commit
300e9d057b
|
@ -36,7 +36,7 @@
|
||||||
static const I2CConfig i2cfg1 = {
|
static const I2CConfig i2cfg1 = {
|
||||||
OPMODE_I2C,
|
OPMODE_I2C,
|
||||||
400000,
|
400000,
|
||||||
FAST_DUTY_CYCLE_16_9,
|
FAST_DUTY_CYCLE_2,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ int main(void) {
|
||||||
static const I2CConfig i2cfg2 = {
|
static const I2CConfig i2cfg2 = {
|
||||||
OPMODE_I2C,
|
OPMODE_I2C,
|
||||||
400000,
|
400000,
|
||||||
FAST_DUTY_CYCLE_16_9,
|
FAST_DUTY_CYCLE_2,
|
||||||
};
|
};
|
||||||
i2cStart(&I2CD2, &i2cfg2);
|
i2cStart(&I2CD2, &i2cfg2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue