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... | |
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.
32-bit | time elapsed since last call to 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.
void bsp_get_local_sys_time | ( | uint32_t * | systime_low, |
uint32_t * | systime_high | ||
) |
Return EtherCAT time base for application use.
systime_low | stores system time low (32-bit LSW) |
systime_high | stores system time high (32-bit MSW) |
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)
pruIcssHandle | PRUSS handle |
systime_low | stores system time low (32-bit LSW) |
systime_high | stores system time high (32-bit MSW) |
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)
pruIcssHandle | PRUSS handle |
systime_low | stores system time low (32-bit LSW) |
systime_high | stores system time high (32-bit MSW) |
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)
pruIcssHandle | PRUSS handle |
systime_low | stores system time low (32-bit LSW) |
systime_high | stores system time high (32-bit MSW) |
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)
pruIcssHandle | PRUSS handle |
systime_low | stores system time low (32-bit LSW) |
systime_high | stores system time high (32-bit MSW) |