Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c2_gpio_default [2016/02/26 14:37] charles.park [GPIO Status Check Program] |
en:c2_gpio_default [2016/02/27 12:34] (current) charles.park [Expansion Connectors (J2)] |
||
---|---|---|---|
Line 6: | Line 6: | ||
^ GPIO ^ Name ^ Mode ^ V ^ PU/PD ^ PIN ^ PIN ^ PU/PD ^ V ^ Mode ^ Name ^ GPIO ^ | ^ GPIO ^ Name ^ Mode ^ V ^ PU/PD ^ PIN ^ PIN ^ PU/PD ^ V ^ Mode ^ Name ^ GPIO ^ | ||
| - | 3.3V | - | - | - | 1 | 2 | - | - | - | 5.0V | - | | | - | 3.3V | - | - | - | 1 | 2 | - | - | - | 5.0V | - | | ||
- | | 205 | I2CA_SDA | ALT6 | 1 | - | 3 | 4 | - | - | - | 5.0V | - | | + | | 205 | I2CA_SDA | IN | 1 | - | 3 | 4 | - | - | - | 5.0V | - | |
- | | 206 | I2CA_SCL | ALT6 | 1 | - | 5 | 6 | - | - | - | GND | - | | + | | 206 | I2CA_SCL | IN | 1 | - | 5 | 6 | - | - | - | GND | - | |
| 249 | GPIOX.21 | IN | 1 | P/U | 7 | 8 | P/U | 1 | ALT2 | GPIOX.12 | 240 | | | 249 | GPIOX.21 | IN | 1 | P/U | 7 | 8 | P/U | 1 | ALT2 | GPIOX.12 | 240 | | ||
| - | GND | - | - | - | 9 | 10 | P/U | 1 | ALT2 | GPIOX.13 | 241 | | | - | GND | - | - | - | 9 | 10 | P/U | 1 | ALT2 | GPIOX.13 | 241 | | ||
Line 18: | Line 18: | ||
| 230 | GPIOX.2 | IN | 1 | P/U | 23 | 24 | P/U | 1 | IN | GPIOX.1 | 229 | | | 230 | GPIOX.2 | IN | 1 | P/U | 23 | 24 | P/U | 1 | IN | GPIOX.1 | 229 | | ||
| - | GND | - | - | - | 25 | 26 | P/D | 0 | IN | GPIOY.14 | 225 | | | - | GND | - | - | - | 25 | 26 | P/D | 0 | IN | GPIOY.14 | 225 | | ||
- | | 207 | I2CB_SDA | ALT6 | 1 | - | 27 | 28 | - | 1 | ALT6 | I2CB_SCL | 208 | | + | | 207 | I2CB_SDA | IN | 1 | - | 27 | 28 | - | 1 | IN | I2CB_SCL | 208 | |
| 228 | GPIOX.0 | IN | 1 | P/U | 29 | 30 | - | - | - | GND | - | | | 228 | GPIOX.0 | IN | 1 | P/U | 29 | 30 | - | - | - | GND | - | | ||
| 219 | GPIOY.8 | IN | 1 | P/U | 31 | 32 | P/U | 1 | IN | GPIOY.13 | 224 | | | 219 | GPIOY.8 | IN | 1 | P/U | 31 | 32 | P/U | 1 | IN | GPIOY.13 | 224 | | ||
Line 37: | Line 37: | ||
====== GPIO Status Check Program ====== | ====== GPIO Status Check Program ====== | ||
- | <file c gpio_status.c> | + | <file c gpio_status_c2.c> |
//------------------------------------------------------------------------------------------------------------ | //------------------------------------------------------------------------------------------------------------ | ||
// | // |