EDT PDV SDK Documentation 6.2.0
Display Functions

Functions

uint8_t edt_spi_get_stat (EdtDev edt_p)
 Returns the value of the EDT SPI status register. More...
 
void edt_spi_display_time (EdtDev edt_p, int loops)
 Prints the timecode in ascii once per second for N loops. More...
 

Detailed Description

Display Functions

Function Documentation

◆ edt_spi_get_stat()

uint8_t edt_spi_get_stat ( EdtDev  edt_p)

Returns the value of the EDT SPI status register.

Parameters
edt_pThe EDT open device handle.
Returns
The value of the EDT SPI status register.

◆ edt_spi_display_time()

void edt_spi_display_time ( EdtDev  edt_p,
int  loops 
)

Prints the timecode in ascii once per second for N loops.

Parameters
edt_pThe EDT open device handle.
loopsThe number of seconds to print.

This function is mostly used for testing and debugging as the timestamp is normally inserted into the DMA data stream by the board FPGA firmware.

See the included example program timing_test.c.