beautypg.com

Board api module description, 1 board api module description – Texas Instruments TMS320C6000 User Manual

Page 32

background image

BOARD API Module Description

3-2

3.1

BOARD API Module Description

The BOARD module is where we put board-specific content. This module has
the potential to grow in the future as more boards are placed on the market.
Currently, the module has some API functions for register access such as

BOARD_readReg()

, and

BOARD_writeReg()

.

A predefined symbol is associated with each EVM/DSK, for example,

BOARD_6711DSK

( –d switch for compiler options setting)

Table 3–1. BOARD API Summary

Syntax

Type

Description

Page

BOARD_readReg

F

Reads a specified.BOARD memory–mapped register

3-3

BOARD_SUPPORT

C

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

3-3

BOARD_writeReg

F

Writes into a specified Board memory–mapped
register

3-4

Note:

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