SHOW:
|
|
- or go back to the newest paste.
1 | pin "high" = voltage close to i/o supply ("vdd" or "vcc") | |
2 | pin "low" = voltage close to ground ("vss" or "gnd") | |
3 | (The exact meaning of "close to" will vary.) | |
4 | ||
5 | ||
6 | driven high (output enabled, output high, internal pull-up/down irrelevant): | |
7 | - tries very hard to make voltage on pin high | |
8 | - current flows to the pin (from vdd) as necessary until the pin is high (or something breaks) | |
9 | - for BBB: voltage will be at least 2.85V on condition that current does not exceed 4 mA | |
10 | ||
11 | driven low (output enabled, output low, internal pull-up/down irrelevant): | |
12 | - tries very hard to make voltage on pin low | |
13 | - current flows from the pin (to vss) as necessary until the pin is low (or something breaks) | |
14 | - for BBB: voltage will be at most 0.45V on condition that current does not exceed 4 mA | |
15 | ||
16 | pulled up (output disabled, internal pull-up enabled): | |
17 | - weakly tries to make voltage on pin high | |
18 | - a small amount of current flows to the pin (from vdd) until the pin is high | |
19 | - for BBB: max current is 0.243 mA | |
20 | ||
21 | pulled down (output disabled, internal pull-down enabled): | |
22 | - weakly tries to make voltage on pin low | |
23 | - a small amount current flows to the pin (to vss) until the pin is low | |
24 | - for BBB: max current is 0.11 mA | |
25 | ||
26 | floating (output disabled, internal pull-up/down disabled): | |
27 | - also known as "high-impedance" or "high-Z" | |
28 | - tries to avoid having any influence on the voltage on the pin | |
29 | - very little current flows to/from the pin | |
30 | - for BBB: max current is 0.018 mA | |
31 | ||
32 | ||
33 | input characteristics for BBB: | |
34 | - pin will be regarded as low when input is disabled or pin voltage is at most 0.8V | |
35 | - pin will be regarded as high when input is enabled and pin voltage is at least 2V | |
36 |