AM64x MCU+ SDK  08.02.00

Introduction

Functions

uint32_t bsp_get_timer_register (void)
 Returns the time difference from last call of bsp_clear_timer_register to this bsp_get_timer_register. It handles overflow. More...
 
void bsp_clear_timer_register (void)
 Update the time when bsp_clear_timer_register last invoked. This is a wrapper API used by SSC. More...
 
void bsp_get_local_sys_time (uint32_t *systime_low, uint32_t *systime_high)
 Return EtherCAT time base for application use. More...
 
void bsp_get_latch0_posedge_time (PRUICSS_Handle pruIcssHandle, uint32_t *systime_low, uint32_t *systime_high)
 Return latch0 posedge timestamp for application use(nanosec resolution) More...
 
void bsp_get_latch0_negedge_time (PRUICSS_Handle pruIcssHandle, uint32_t *systime_low, uint32_t *systime_high)
 Return latch0 negedge timestamp for application use(nanosec resolution) More...
 
void bsp_get_latch1_posedge_time (PRUICSS_Handle pruIcssHandle, uint32_t *systime_low, uint32_t *systime_high)
 Return latch1 posedge timestamp for application use(nanosec resolution) More...
 
void bsp_get_latch1_negedge_time (PRUICSS_Handle pruIcssHandle, uint32_t *systime_low, uint32_t *systime_high)
 Return latch0 negedge timestamp for application use(nanosec resolution) More...
 

Function Documentation

◆ bsp_get_timer_register()

uint32_t bsp_get_timer_register ( void  )

Returns the time difference from last call of bsp_clear_timer_register to this bsp_get_timer_register. It handles overflow.

Return values
32-bittime elapsed since last call to bsp_clear_timer_register

◆ bsp_clear_timer_register()

void bsp_clear_timer_register ( void  )

Update the time when bsp_clear_timer_register last invoked. This is a wrapper API used by SSC.

◆ bsp_get_local_sys_time()

void bsp_get_local_sys_time ( uint32_t *  systime_low,
uint32_t *  systime_high 
)

Return EtherCAT time base for application use.

Parameters
systime_lowstores system time low (32-bit LSW)
systime_highstores system time high (32-bit MSW)

◆ bsp_get_latch0_posedge_time()

void bsp_get_latch0_posedge_time ( PRUICSS_Handle  pruIcssHandle,
uint32_t *  systime_low,
uint32_t *  systime_high 
)

Return latch0 posedge timestamp for application use(nanosec resolution)

Parameters
pruIcssHandlePRUSS handle
systime_lowstores system time low (32-bit LSW)
systime_highstores system time high (32-bit MSW)

◆ bsp_get_latch0_negedge_time()

void bsp_get_latch0_negedge_time ( PRUICSS_Handle  pruIcssHandle,
uint32_t *  systime_low,
uint32_t *  systime_high 
)

Return latch0 negedge timestamp for application use(nanosec resolution)

Parameters
pruIcssHandlePRUSS handle
systime_lowstores system time low (32-bit LSW)
systime_highstores system time high (32-bit MSW)

◆ bsp_get_latch1_posedge_time()

void bsp_get_latch1_posedge_time ( PRUICSS_Handle  pruIcssHandle,
uint32_t *  systime_low,
uint32_t *  systime_high 
)

Return latch1 posedge timestamp for application use(nanosec resolution)

Parameters
pruIcssHandlePRUSS handle
systime_lowstores system time low (32-bit LSW)
systime_highstores system time high (32-bit MSW)

◆ bsp_get_latch1_negedge_time()

void bsp_get_latch1_negedge_time ( PRUICSS_Handle  pruIcssHandle,
uint32_t *  systime_low,
uint32_t *  systime_high 
)

Return latch0 negedge timestamp for application use(nanosec resolution)

Parameters
pruIcssHandlePRUSS handle
systime_lowstores system time low (32-bit LSW)
systime_highstores system time high (32-bit MSW)