beautypg.com

Dip api module description, 1 dip api module description – Texas Instruments TMS320C6000 User Manual

Page 39

background image

DIP API Module Description

5-2

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

5-3

DIP_SUPPORT

C

A compile time constant whose value is 1 if the board
supports the DIP module

5-3

Note:

F = Function; C = Constant; S = Structure; T = Typedef