sja1000p_check_tx_stat

Name

sja1000p_check_tx_stat --  checks state of transmission engine

Synopsis

int sja1000p_check_tx_stat (struct chip_t * chip);

Arguments

chip

pointer to chip state structure

Return Value

negative value reports error. Positive return value indicates transmission under way status. Zero value indicates finishing of all issued transmission requests.

File

src/sja1000p.c