Hi,now I meet with a problem.
at the beginning ,I inited 7 descrptors (just as the example ,monothic mode )and then pushed one.
I read the status of queue using the setting bellow:
for(t_uitemp0=0;t_uitemp0<100;t_uitemp0++)
{
delay(1000);
log_pakcet_g_uiTmpDescriptor[t_uitemp0]=get_descriptor_count(MONO_TX_Q0);
log_byte_g_uiTmpDescriptor[t_uitemp0]=get_byte_count(MONO_TX_Q0);
}
#define MONO_TX_Q0 512
delay(1000)is about 9000 clks
and the result is that from 0 to 12 ,the number of descriptor is 1,from 13 to the end of the number of descriptor is 0,but the number of byte in the MONO_TX_Q0 is always 0.
In fact ,I think the number of byte in queue is the number I inited in the descriptor ,right?