Electronic Components Datasheet Search
  English  ▼

X  

GRSPW Datasheet(PDF) 35 Page - Actel Corporation

Part # GRSPW
Description  SpaceWire CODEC with RMAP GRSPW / GRSPW-FT
PDF  48 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ACTEL [Actel Corporation]
Direct Link  http://www.actel.com
Logo ACTEL - Actel Corporation

GRSPW Datasheet(HTML) 35 Page - Actel Corporation

Back Button GRSPW Datasheet HTML 31Page - Actel Corporation GRSPW Datasheet HTML 32Page - Actel Corporation GRSPW Datasheet HTML 33Page - Actel Corporation GRSPW Datasheet HTML 34Page - Actel Corporation GRSPW Datasheet HTML 35Page - Actel Corporation GRSPW Datasheet HTML 36Page - Actel Corporation GRSPW Datasheet HTML 37Page - Actel Corporation GRSPW Datasheet HTML 38Page - Actel Corporation GRSPW Datasheet HTML 39Page - Actel Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 48 page
background image
35
GRSPW / GRSPW-FT
Copyright Aeroflex Gaisler AB
December 2008, Version 1.0.2
GAISLER
Used for setting the different parameters in the spwvars struct. Should always be run first after creat-
ing a spwvars struct. This function only initializes the struct. Does not write anything to the
SpaceWire core.
int spw_init(struct spwvars *spw);
Initializes the GRSPW core located at the address set in the struct spw. Sets the following registers:
node address, destination key, clock divisor, receiver maximum length, transmitter descriptor table
address, receiver descriptor table address, ctrl and dmactrl. All bits are set to the values found in the
spwvars struct. If a register bit is not present in the struct it will be set to zero. The descriptor tables
are allocated to an aligned area using malloc. The status register is cleared and lastly the link interface
is enabled. The run state frequency will be set according to the value in clkdiv.
Table 30. Return values for spw_setparam
Value
Description
0
The function completed successfully
1
One or more of the parameters had an illegal value
Table 31. Parameters for spw_setparam
Parameter
Description
Allowed range
nodeaddr
Sets the node address value of the struct spw passed to the function.
0-255
clkdiv
Sets the clock divisor value of the struct spw passed to the function.
0-255
destkey
Sets the destination key of the struct spw passed to the function.
0-255
nospill
Sets the nospill value of the struct spw passed to the function.
0 - 1
timetxen
Sets the timetxen value of the struct spw passed to the function.
0 - 1
timerxen
Sets the timerxen value of the struct spw passed to the function.
0 - 1
rxmaxlen
Sets the receiver maximum length field of the struct spw passed to
the function.
0 - 225-1
spwadr
Sets the address to the GRSPW core which will be associated with
the struct passed to the function.
0 - 232-1
Table 32. Return values for spw_init
Value
Description
0
The function completed successfully
1
One or more of the parameters could not be set correctly or the link failed to initialize.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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