Back to Card Commands
CMD_ CARD_SET_SPEED

Command:              CMD_ CARD_SET_SPEED
Destination:          SD_CARD
Destination Channel:  Channel ID

Description

Clients use this command to establish the speed characteristics of the specified channel. The bus speed, when modified with this command, takes effect only with a subsequent call to CMD_INIT for this channel.

Command data format

Speed Index
1 byte

The command data byte Speed Index refers to the index of a predefined set of network timing parameters.

These predefined speeds are defined in the file
/gryphon/etc/gdevs
in the 's filesystem.

The format and number of parameters represented by these predefined speeds are dependant on card type.

A list of predefined speeds may be retrieved from the with the CMD_CARD_GET_SPEEDS command.

The network timing parameters on some cards may also be manipulated directly via card-specific CMD_CARD_IOCTL commands.

Response data format

None.

Response return codes
RESP_OK Execution of the command was successful.
RESP_INVAL_CHAN The specified channel is invalid.
RESP_UNSUPPORTED This command is not supported on the specified chan nel.
RESP_UNREG The specified source channel is not registered with the server.
RESP_UNKNOWN_ERR An unknown error occurred.

|Top|