ABC Office manual Set FPD Control Registers, Host Wakeup, 28.3 DC-2/MC-1 Response

Page 30

Lexicon, Inc.

 

DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

The InputId must be a valid Input Id. If it is not the DC-2/MC-1 will respond with a NAK packet and error code DC_ERR_ INVALID_INPUT_ID. If the InputName string exceeds the INPUT_NAME _LENGTH, the DC-2/MC-1 will ignore the command and transmit a DC_NAK command with an error code DC_ERR_INVALID_DATA.

7.3.28 Set FPD Control Registers

Sets FPD Control Registers to the transmitted values.

7.3.28.1 Command Packet Description

Application Header:

 

Command

DC_SET_FPD_CONTROL

0x2A

Data Count

4

0x04

Application

Data:

 

Data[0]

FPD_CtrlReg0

nn

Data[1]

FPD_CtrlReg1

nn

Data[2]

FPD_CtrlReg2

nn

Data[4]

FPD_MinUpdate

nn

7.3.28.2 Data Description

FPD_CtrlReg0: BitPack as defined in Appendix F FPD Control Registers

FPD_CtrlReg1: BitPack as defined in Appendix F FPD Control Registers

FPD_CtrlReg2: BitPack as defined in Appendix F FPD Control Registers

FPD_MinUpdate:

This value sets the minimum time between FPD Notification Transmissions.

 

Data Type:

Unsigned 8 bit integer

 

Default:

50(100 mSec)

 

Range:

50 - 255 counts

 

Conversion:

500 counts/sec

7.3.28.3 DC-2/MC-1 Response

The control register values transmitted will be copied over to the registers stored in nonvolatile RAM. The FPD_MinUpdate will be range limited. The DC-2/MC-1 will respond with an ACK Packet.

7.3.29 Host Wakeup

By transmitting the Wakeup Notification, the Host indicates it has just “powered on” or reset and is ready to receive DC-2/MC-1 Notifications or Responses. If no acknowledgment is received within ACK_TIMEOUT, the Host should indicate that the DC-2/MC-1 was not found.

7.3.29.1 Command Packet Description

Application Header:

Command

HOST_WAKEUP

0x11

Data Count

0

0x00

Application Data:

 

 

N/A

 

7.3.29.2 Data Description

N/A

7.3.29.3 DC-2/MC-1 Response

The DC-2/MC-1 will respond to this command with an ACK.

30 of 44

Image 30
Contents Serial Communications Protocol Definition Data Link Layer Internal Use Abbreviations DocumentsDefinitions General DescriptionDB-9 RS232 Connector Physical LayerSerial Port Driver DC-2/MC-1 Hardware Verification ErrorsDC-2/MC-1 Receive Buffer Data Link LayerWakeup Notification Application LayerDC-2/MC-1 Asynchronous Notification Packets Notification Packet DescriptionHost Response Expected Sleep NotificationFront Panel Display Buffer Data DescriptionHost Response Supported System ParametersAcknowledgment Packets AcknowledgeNo Acknowledge Restore Defaults Host Initiated Command PacketsReset Unit Send IR Command3.3 DC-2/MC-1 Response Get DC-2/MC-1 Unit Configuration4.2 DC-2/MC-1 Unit Configuration Response Packet Data ValidationTHX AC3 DTS Product IDSW Type SW LevelGet System Status System Status Response PacketDcrespsysstatus RATE96 Get Record/Zone 2 StatusRateunknown RATE44 RATE48 RATE88 INSTREAMAC351Record/Zone2 Status Response Packet Get System Parameter Definition by Id Command PacketGet System Parameter Definition DccmdgetrecstatusDccmdgetsysparambyname Get System Parameter Definition by Name Command PacketSystem Parameter Definition Response Packet DcrespsysparamdefSystem Parameter Values Response Packet Get System Parameter ValuesGet Effect Definition by Id Effect Definition Response PacketDcrespeffectdef Get Effect Parameter DefinitionEffect Parameter Definition Response Packet DccmdgeteffectparamdefEffect Parameter Values Response Packet Get Effect Parameter Values10.5 Data Description ApplicationHeaderGet Custom Name Get Input Name by IdData Description Custom Name Response Packet Get FPD Control Registers Input Name Response PacketFPD Control Register Response Packet 15.3 DC-2/MC-1 Response Set System Parameter ValuesSet Effect Parameter Values Dcrespfpdcontrol17.3 DC-2/MC-1 Response Set Effect Name by Effect Id16.3 DC-2/MC-1 Response Dccmdseteffectparamvalues18.3 DC-2/MC-1 Response Set System VolumeSet Main Balance 19.3 DC-2/MC-1 ResponsePacket Description Set Front/Back BalanceSet Active Effect by Id 20.3 DC-2/MC-1 Response22.3 DC-2/MC-1 Response Data Validation Set Record/Zone2 InputClear Record/Zone2 Input 23.3 DC-2/MC-1 Response Data ValidationSet Custom Name Set Zone2 VolumeSet Zone2 Left/Right Balance 24.3 DC-2/MC-1 Response27.3 DC-2/MC-1 Response Set Input Name by Id26.3 DC-2/MC-1 Response Dccmdsetcustname28.3 DC-2/MC-1 Response Set FPD Control RegistersHost Wakeup Data Description 29.3 DC-2/MC-1 ResponseGet Communication Configuration Host Sleep31.3 Data Description Set Mute Set Communication ConfigurationDccmdsetcomconfig 32.2 Data Description34.2 Data Description Set Output Level Adjustments33.3 DC-2/MC-1 Response Dccmdsetmute35.2 Data Description Send Display String Command34.3 DC-2/MC-1 Response 35.3 DC-2/MC-1 ResponseAppendix a Command Codes Peek CommandPoke Command Internal UseResponses AcknowledgmentsAppendix B Error Codes Error CodeHexAppendix C DC-2/MC-1 IR-Codes Hex Function Code Shift Functions Hex Code Rec FunctionInput Name Input Id Appendix D Input Id’sAppendix E Protocol Constants Constant ValueDecBox initializations Appendix F FPD Control RegistersApplication Notes and Examples 15.1.1 DC-2/MC-1Getting System Wide Status and Setup Downloading the System Setup to the DC-2/MC-1Simple System Control & System Status SOP DLL DC CMD Get Unit ConfigurationExamples DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8Get Effect Definition 15.5.3 Set Input NameSend IR Command Example Cmd