DIP API Module Description
5.1 DIP API Module Description
This module has the following single API for reading DIP switch positions:
DIP_get(dip#) returns a boolean value {0,1}.
Table 5–1. DIP API Summary
Syntax | Type | Description | Page |
|
|
|
|
|
|
DIP_get | F | Reads the status of the DIP switches |
| |
DIP_SUPPORT | C | A compile time constant whose value is 1 if the board |
| |
|
| supports the DIP module |
|
|
Note: F = Function; C = Constant; S = Structure; T = Typedef