Skip to content

Commit a7acae5

Browse files
committed
Add the bias request and line flags.
1 parent 5a41d7f commit a7acae5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,9 @@ bitflags! {
356356
const ACTIVE_LOW = (1 << 2);
357357
const OPEN_DRAIN = (1 << 3);
358358
const OPEN_SOURCE = (1 << 4);
359+
const BIAS_PULL_UP = (1 << 5);
360+
const BIAS_PULL_DOWN = (1 << 6);
361+
const BIAS_DISABLE = (1 << 7);
359362
}
360363
}
361364

@@ -385,6 +388,9 @@ bitflags! {
385388
const ACTIVE_LOW = (1 << 2);
386389
const OPEN_DRAIN = (1 << 3);
387390
const OPEN_SOURCE = (1 << 4);
391+
const BIAS_PULL_UP = (1 << 5);
392+
const BIAS_PULL_DOWN = (1 << 6);
393+
const BIAS_DISABLE = (1 << 7);
388394
}
389395
}
390396

0 commit comments

Comments
 (0)