PDK API Guide for J721E
TimerP_Params Struct Reference

Detailed Description

Basic TimerP Parameters.

Structure that contains the parameters passed into TimerP_create when creating a TimerP instance. The TimerP_Params_init function should be used to initialize the fields to default values before the application sets the fields manually. The TimerP default parameters are noted in TimerP_Params_init.

Data Fields

char * name
 
uint32_t periodType
 
uint32_t extfreqLo
 
uint32_t extfreqHi
 
uint32_t intfreqLo
 
uint32_t intfreqHi
 
uint32_t startMode
 
uint32_t runMode
 
uint32_t period
 
TimerP_Timer64Mode timerMode
 
TimerP_Timer64Half timerHalf
 
uint32_t intNum
 
void * arg
 

Field Documentation

◆ name

char* TimerP_Params::name

Name of the timer instance. Memory must persist for the life of the clock instance. This can be used for debugging purposes, or set to NULL if not needed.

◆ periodType

uint32_t TimerP_Params::periodType

Period type, default micro seconds

◆ extfreqLo

uint32_t TimerP_Params::extfreqLo

least siginificant 32-bits of ext frequency set to 0 to use internal clk freq

◆ extfreqHi

uint32_t TimerP_Params::extfreqHi

most siginificant 32-bits of ext frequency set to 0 to use internal clk freq

◆ intfreqLo

uint32_t TimerP_Params::intfreqLo

least siginificant 32-bits of int frequency set to 0 to use default internal clk freq

◆ intfreqHi

uint32_t TimerP_Params::intfreqHi

most siginificant 32-bits of int frequency set to 0 to use default internal clk freq

◆ startMode

uint32_t TimerP_Params::startMode

timer start mode

◆ runMode

uint32_t TimerP_Params::runMode

timer run mode

◆ period

uint32_t TimerP_Params::period

Period of a tick

◆ timerMode

TimerP_Timer64Mode TimerP_Params::timerMode

timer mode for 64bit timer

◆ timerHalf

TimerP_Timer64Half TimerP_Params::timerHalf

timer half for 64bit timer

◆ intNum

uint32_t TimerP_Params::intNum

Hwi Interrupt number to be used by Timer

◆ arg

void* TimerP_Params::arg

Argument passed into the timer function.