Texas Instruments TMS320C6000 Reference Manual page 168

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

Advertisement

TIMER
4.14.3
TIMER_ConfigA
Function
Arguments
Return Value
Description
Example
4.14.4
TIMER_ConfigB
Function
Arguments
Return Value
4-120
Configure timer using configuration structure
void TIMER_ConfigA(
TIMER_HANDLE hTimer,
TIMER_CONFIG *Config
);
hTimer
Config
none
Sets up the timer device using the configuration structure.
The values of the structure are written to the DMA regis-
ters. The timer control register (CTL) is written last. See
also TIMER_ConfigB() and TIMER_CONFIG.
TIMER_CONFIG MyConfig = {
0x000002C0, /* ctl */
0x00010000, /* prd */
0x00000000
};
TIMER_ConfigA(hTimer,&MyConfig);
Sets up the timer using the register values passed in
void TIMER_ConfigB(
TIMER_HANDLE hTimer,
UINT32 ctl,
UINT32 prd,
UINT32 cnt
);
Device handle. See TIMER_Open().
hTimer
Control register value
ctl
Period register value
prd
Count register value
cnt
none
Device handle. See TIM-
ER_Open().
/* cnt */

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