Texas Instruments TMS320C6000 Reference Manual page 170

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

Advertisement

TIMER
4.14.8
TIMER_GetEventId
Function
Arguments
Return Value
Description
Example
4.14.9
TIMER_GetPeriod
Function
Arguments
Return Value
Description
Example
4.14.10
TIMER_GetTstat
Function
Arguments
Return Value
Description
Example
4-122
Obtains the event ID for the timer device
UINT32 TIMER_GetEventId(
TIMER_HANDLE hTimer
);
Device handle. See TIMER_Open().
hTimer
IRQ Event ID for the timer device
Event ID
Use this function to obtain the event ID for the timer device.
TimerEventId = TIMER_GetEventId(hTimer);
IRQ_Enable(TimerEventId);
Returns the period of the timer device
UINT32 TIMER_GetPeriod(
TIMER_HANDLE hTimer
);
hTimer
Period Value
Returns the period of the timer device.
p = TIMER_GetPeriod(hTimer);
Reads the timer status; value of timer output
int TIMER_GetTstat(
TIMER_HANDLE hTimer
);
hTimer
TSTAT
Reads the timer status; value of timer output.
status = TIMER_GetTstat(hTimer);
Device handle. See TIMER_Open().
Timer period
Device handle. See TIMER_Open().
Timer status; 0 or 1

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

Subscribe to Our Youtube Channel

Table of Contents