Texas Instruments TMS320C6000 Reference Manual page 17

Chip support library api
Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

val = PER_MK_REG(0,4,1,3,8);
or, to make your code more readable and self-documenting, you can use the
symbolic constants for the field values like this:
val = PER_MK_REG(
PER_REG_F0_VAL0,
PER_REG_F1_VAL1,
PER_REG_F2_VAL1,
PER_REG_F3_VAL0,
PER_REG_F4_VAL3
);
You could just as well use variables for the field values. If you used all
constants for the field values, the whole macro resolves down to a single
constant number at compile time.
CSL API Module Introduction
CSL API Module Descriptions
2-3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 and is the answer not in the manual?

Questions and answers

Table of Contents