mirror of https://github.com/efabless/caravel.git
Merge pull request #385 from efabless/fix_user_defines_pullupdown
Fixes the user defines configuration values for pullup and pulldown
This commit is contained in:
commit
896d792fb4
|
@ -21,15 +21,15 @@
|
|||
|
||||
// Useful GPIO mode values. These match the names used in defs.h.
|
||||
`define GPIO_MODE_MGMT_STD_INPUT_NOPULL 13'h0403
|
||||
`define GPIO_MODE_MGMT_STD_INPUT_PULLDOWN 13'h0803
|
||||
`define GPIO_MODE_MGMT_STD_INPUT_PULLUP 13'h0c03
|
||||
`define GPIO_MODE_MGMT_STD_INPUT_PULLDOWN 13'h0c01
|
||||
`define GPIO_MODE_MGMT_STD_INPUT_PULLUP 13'h0801
|
||||
`define GPIO_MODE_MGMT_STD_OUTPUT 13'h1809
|
||||
`define GPIO_MODE_MGMT_STD_BIDIRECTIONAL 13'h1801
|
||||
`define GPIO_MODE_MGMT_STD_ANALOG 13'h000b
|
||||
|
||||
`define GPIO_MODE_USER_STD_INPUT_NOPULL 13'h0402
|
||||
`define GPIO_MODE_USER_STD_INPUT_PULLDOWN 13'h0802
|
||||
`define GPIO_MODE_USER_STD_INPUT_PULLUP 13'h0c02
|
||||
`define GPIO_MODE_USER_STD_INPUT_PULLDOWN 13'h0c00
|
||||
`define GPIO_MODE_USER_STD_INPUT_PULLUP 13'h0800
|
||||
`define GPIO_MODE_USER_STD_OUTPUT 13'h1808
|
||||
`define GPIO_MODE_USER_STD_BIDIRECTIONAL 13'h1800
|
||||
`define GPIO_MODE_USER_STD_OUT_MONITORED 13'h1802
|
||||
|
|
Loading…
Reference in New Issue