char EMAC_Set_TxWakeUpCb (EMAC_WakeupCallback pTxWakeUpCb, unsigned short threshold) |
Name | Type | Default | Description |
pTxWakeUpCb | EMAC_WakeupCallback |
Pointer to callback function |
|
threshold | unsigned short |
Minimum number of available transfer descriptors before pTxWakeUpCb() is invoked |
|
Return value | char |
0= success, 1 = threshold exceeds nuber of transfer descriptors |