| Electronic Components Datasheet Search |
|
GRSPW Datasheet(PDF) 40 Page - Actel Corporation |
|
|
|||||||||||||||||||||||||||||
GRSPW Datasheet(HTML) 40 Page - Actel Corporation |
|
40 / 48 page ![]() 40 GRSPW / GRSPW-FT Copyright Aeroflex Gaisler AB December 2008, Version 1.0.2 GAISLER int spw_checkrx(int *size, struct rxstatus *rxs, struct spwvars *spw); Checks if a packet has been received. When a packet has been received the size in bytes will be stored in the size parameter and status is found in the rxs struct. A pointer in the spwvars struct is used to keep track of the location in the descriptor table to poll. It is incremented each time the function returns nonzero. int spw_checktx(struct spwvars *spw); Table 51. Parameters for spw_rx Parameter Description Allowed range buf Pointer to the data area. - spw Pointer to the spwvars struct associated with GRSPW core that should receive the packet - Table 52. Return values for spw_checkrx Value Description 0 No packet has been received 1 A packet has been received Table 53. Parameters for spw_checkrx Parameter Description Allowed range size When the function returns 1 this variable holds the number of bytes received - rxs When the function returns 1 this variable holds status information - spw Pointer to the spwvars struct associated with GRSPW core that should be polled - Table 54. The rxstatus struct Field Description Allowed range truncated Packet was truncated 0 - 1 dcrcerr Data CRC error bit was set. Only indicates an error if the packet received was an RMAP packet. 0 - 1 hcrcerr Header CRC error bit was se.t. Only indicates an error if the packet received was an RMAP packet. 0 - 1 eep Packet was terminated with EEP 0 - 1 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |