Hi. You want to know the period of system ticks? Then use PSP's function:
_psp_ticks_to_picoseconds(
/* [IN] Ticks to be converted */
PSP_TICK_STRUCT_PTR tick_ptr,
/* [OUT] pointer to where the overflow boolean is to be written */
boolean _PTR_ overflow_ptr
)
or equivalent:
_psp_ticks_to_nanoseconds(...)
with:
tick_ptr->TICKS[0] = 1;
tick_ptr->HW_TICKS[0] = 0;
Hi. You want to know the period of system ticks? Then use PSP's function:
_psp_ticks_to_picoseconds(
/* [IN] Ticks to be converted */
PSP_TICK_STRUCT_PTR tick_ptr,
/* [OUT] pointer to where the overflow boolean is to be written */
boolean _PTR_ overflow_ptr
)
or equivalent:
_psp_ticks_to_nanoseconds(...)
with:
tick_ptr->TICKS[0] = 1;
tick_ptr->HW_TICKS[0] = 0;