ST75C520
CR
Opcode:
Synopsis
Parameters
Complex Read
11
CR
0
0
0
1
0
0
0
1
CR allows the reading of a complex parameter. The parameter specifies the parameter
address (for the real part : the imaginary part is next location). CR returns the high byte
value of both real and imaginary part of the addressed complex parameter.
Field
CR_ADDR_L
CR_ADDR_H
Byte
1
2
Pos.
7..0
7..0
Value
Definition
Low byte of the 16-bit address
High byte of the 16-bit address
CSE
Opcode:
Synopsis
Parameters
Clear Error Status
08
CSE
0
0
0
0
1
0
0
0
CSE is used to clear the ST75C520 error status SYSERR byte. It is also used as an
acknowledge to the error condition handler. For details, please refer to the corresponding
appendix.
Field
ERR_MASK
Byte
1
Pos.
7..0
Value
Definition
Error mask
See report appendix for detailed meaning
DEFT
Opcode:
Synopsis
Parameters
Define Arbitrary Tone
0E
DEFT
0
0
0
0
1
1
1
0
DEFT programs one of the four tone generator for arbitrary tone generation.The parameter
is the frequency of the generated tone expressed in Hertz between 0 and 3600Hz.
Field
TONE_GEN_SL
TONE_FREQ_L
TONE_FREQ_H
TONE_SCALE
Byte
1
2
3
4
Pos.
1..0
7..0
7..0
7..0
Value
Definition
Index of the tone generator (3..0)
Low byte of the frequency
High byte of the frequency
(internally masked with 0F)
Amplitude scaling factor (high byte)
3F gives the nominal amplitude
DOSR
Opcode:
Synopsis
Parameters
Define Optional Status Report
0A
DOSR
0
0
0
0
1
0
1
0
DOSR specifies the address of the RAM variables to be monitored in the 3 locations
STAOPT[0..2] of the dual port RAM. It also specifies the assignment within the 3 locations.
Field
STA_OPT_AS S
STA_OPT_ADL
STA_OPT_ADH
STA_OPT_HL
Byte
1
2
3
3
Pos.
1..0
7..0
3..0
7
Value
0..2
0
1
Definition
Index of the STAOPT destination
Low byte of source address
High byte of source address
Select low byte of source
Select high byte of source
20/45