Skip to content

Commit 4ed586f

Browse files
committed
Update README
1 parent 9bd2b11 commit 4ed586f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ Other devices supporting the Linux GPIO driver will work, but need DB templates
1111

1212
## Records
1313

14-
Each pin has the following associated records, where `$(P)` is provided by the IOC and `$(N)` is substituted with the pin number.
14+
Each pin has the following associated records, where `$(P)` is provided by the IOC, `$(C)` is the gpio chip number and `$(N)` is the pin number.
1515
| Record Name | Type | Description |
1616
|---|---|---|
17-
| `$(P)GPIO$(N)_OUT` | bo | Output value, used when the pin is configured as an output |
18-
| `$(P)GPIO$(N)_IN` | bi | Input value, used when the pin is configured as an input |
19-
| `$(P)GPIO$(N)_POLARITY` | mbbo | Polarity for outputs. Default is "active high" |
20-
| `$(P)GPIO$(N)_TYPE` | mbbo | Pin type. Default is Input |
21-
| `$(P)GPIO$(N)_DRIVE` | mbbo | Drive type for outputs. Default is "Push/Pull" |
22-
| `$(P)GPIO$(N)_BIAS` | mbbo | Bias for inputs. Default is "None" |
23-
| `$(P)GPIO$(N)_RESET` | bo | Resets the value when the pin is configured as a latched input |
24-
| `$(P)GPIO$(N)_DEBOUNCE` | longin | Debounce sampling period in microseconds. Only relevant for input pins |
17+
| `$(P)GPIO$(C)_L$(N)_OUT` | bo | Output value, used when the pin is configured as an output |
18+
| `$(P)GPIO$(C)_L$(N)_IN` | bi | Input value, used when the pin is configured as an input |
19+
| `$(P)GPIO$(C)_L$(N)_POLARITY` | mbbo | Polarity for outputs. Default is "active high" |
20+
| `$(P)GPIO$(C)_L$(N)_TYPE` | mbbo | Pin type. Default is Input |
21+
| `$(P)GPIO$(C)_L$(N)_DRIVE` | mbbo | Drive type for outputs. Default is "Push/Pull" |
22+
| `$(P)GPIO$(C)_L$(N)_BIAS` | mbbo | Bias for inputs. Default is "None" |
23+
| `$(P)GPIO$(C)_L$(N)_RESET` | bo | Resets the value when the pin is configured as a latched input |
24+
| `$(P)GPIO$(C)_L$(N)_DEBOUNCE` | longin | Debounce sampling period in microseconds. Only relevant for input pins |
2525

2626
## Outputs
2727

0 commit comments

Comments
 (0)