| поискавой системы для электроныых деталей |
|
GRSPW датащи(PDF) 39 Page - Actel Corporation |
|
|
|||||||||||||||||||||||||||||
GRSPW датащи(HTML) 39 Page - Actel Corporation |
|
39 / 48 page ![]() 39 GRSPW / GRSPW-FT Copyright Aeroflex Gaisler AB December 2008, Version 1.0.2 GAISLER int spw_tx(int crc, int skipcrcsize, int hsize, char *hbuf, int dsize, char *dbuf, struct spwvars *spw); Transmits a packet. Separate header and data buffers can be used. If CRC logic is available the GSPW inserts RMAP CRC values after the header and data fields if crc is set to one. This function only sets a descriptor and initiates the transmission. Spw_checktx must be used to check if the packet has been transmitted. A pointer into the descriptor table is stored in the spwvars struct to keep track of the next location to use. It is incremented each time the function returns 0. int spw_rx(char *buf, struct spwvars *spw); Enables a descriptor for reception. The packet will be stored to buf. Spw_checkrx must be used to check if a packet has been received. A pointer in the spwvars struct is used to keep track of the next location to use in the descriptor table. It is incremented each time the function returns 0. Table 47. Parameters for spw_set_rxmaxlength Parameter Description Allowed range spw Pointer to the spwvars struct associated with GRSPW core that should be configured - Table 48. Return values for spw_tx Value Description 0 The function completed successfully 1 There are no free transmit descriptors currently available 2 There was illegal parameters passed to the function Table 49. Parameters for spw_tx Parameter Description Allowed range crc Set to one to append RMAP CRC after the header and data fields. Only available if hardware CRC is available in the core. 0 - 1 skipcrcsize The number of bytes in the beginning of a packet that should not be included in the CRC calculation 0 - 15 hsize The size of the header in bytes 0 - 255 hbuf Pointer to the header data - dsize The size of the data field in bytes 0 - 224-1 dbuf Pointer to the data area. - spw Pointer to the spwvars struct associated with GRSPW core that should transmit the packet - Table 50. Return values for spw_rx Value Description 0 The function completed successfully 1 There are no free receive descriptors currently available |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |