![]() |
PDK API Guide for J721E
|
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 |
| 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.
| uint32_t TimerP_Params::periodType |
Period type, default micro seconds
| uint32_t TimerP_Params::extfreqLo |
least siginificant 32-bits of ext frequency set to 0 to use internal clk freq
| uint32_t TimerP_Params::extfreqHi |
most siginificant 32-bits of ext frequency set to 0 to use internal clk freq
| uint32_t TimerP_Params::intfreqLo |
least siginificant 32-bits of int frequency set to 0 to use default internal clk freq
| uint32_t TimerP_Params::intfreqHi |
most siginificant 32-bits of int frequency set to 0 to use default internal clk freq
| uint32_t TimerP_Params::startMode |
timer start mode
| uint32_t TimerP_Params::runMode |
timer run mode
| uint32_t TimerP_Params::period |
Period of a tick
| TimerP_Timer64Mode TimerP_Params::timerMode |
timer mode for 64bit timer
| TimerP_Timer64Half TimerP_Params::timerHalf |
timer half for 64bit timer
| uint32_t TimerP_Params::intNum |
Hwi Interrupt number to be used by Timer
| void* TimerP_Params::arg |
Argument passed into the timer function.