Skip to content

Commit

Permalink
Merge pull request #385 from efabless/fix_user_defines_pullupdown
Browse files Browse the repository at this point in the history
Fixes the user defines configuration values for pullup and pulldown
  • Loading branch information
jeffdi authored Nov 17, 2022
2 parents 4187ba8 + 310db2e commit 896d792
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions verilog/rtl/user_defines.v
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 896d792

Please sign in to comment.