|
Board-controller instructions
|
Enumerations |
enum | BC_Code {
BC_dummy_0,
BC_T_TH,
BC_AV_TH,
BC_AC_TH,
BC_DV_TH,
BC_DC_TH,
BC_T,
BC_AV,
BC_AC,
BC_DV,
BC_DC,
BC_L1CNT,
BC_L2CNT,
BC_SCLKCNT,
BC_DSTBCNT,
BC_TSMWORD,
BC_USRATIO,
BC_CSR0,
BC_CSR1,
BC_CSR2,
BC_CSR3,
BC_FMD,
BC_CNTLAT,
BC_CNTCLR,
BC_CSR1CLR,
BC_ALRST,
BC_BCRST,
BC_STCNV,
BC_SCEVL,
BC_EVLRDO,
BC_STTSM,
BC_ACQRDO
} |
Functions |
u_int | RCUC_BC_encode (u_int instr) |
u_int | RCUC_BC_T_TH_read_encode (u_int addr) |
u_int | RCUC_BC_T_TH_write_encode (u_int addr, u_int data) |
u_int | RCUC_BC_AV_TH_read_encode (u_int addr) |
u_int | RCUC_BC_AV_TH_write_encode (u_int addr, u_int data) |
u_int | RCUC_BC_AC_TH_read_encode (u_int addr) |
u_int | RCUC_BC_AC_TH_write_encode (u_int addr, u_int data) |
u_int | RCUC_BC_DV_TH_read_encode (u_int addr) |
u_int | RCUC_BC_DV_TH_write_encode (u_int addr, u_int data) |
u_int | RCUC_BC_DC_TH_read_encode (u_int addr) |
u_int | RCUC_BC_DC_TH_write_encode (u_int addr, u_int data) |
u_int | RCUC_BC_T_read_encode (u_int addr) |
u_int | RCUC_BC_AV_read_encode (u_int addr) |
u_int | RCUC_BC_AC_read_encode (u_int addr) |
u_int | RCUC_BC_DV_read_encode (u_int addr) |
u_int | RCUC_BC_DC_read_encode (u_int addr) |
u_int | RCUC_BC_L1CNT_read_encode (u_int addr) |
u_int | RCUC_BC_L2CNT_read_encode (u_int addr) |
u_int | RCUC_BC_SCLKCNT_read_encode (u_int addr) |
u_int | RCUC_BC_DSTBCNT_read_encode (u_int addr) |
u_int | RCUC_BC_TSMWORD_read_encode (u_int addr) |
u_int | RCUC_BC_TSMWORD_write_encode (u_int addr, u_int data) |
u_int | RCUC_BC_USRATIO_read_encode (u_int addr) |
u_int | RCUC_BC_USRATIO_write_encode (u_int addr, u_int data) |
u_int | RCUC_BC_CSR_read_encode (u_int which, u_int addr) |
u_int | RCUC_BC_CSR_write_encode (u_int which, u_int addr, u_int data) |
u_int | RCUC_BC_CNTLAT_cmd_encode (u_int addr) |
u_int | RCUC_BC_CNTCLR_cmd_encode (u_int addr) |
u_int | RCUC_BC_CSR1CLR_cmd_encode (u_int addr) |
u_int | RCUC_BC_ALRST_cmd_encode (u_int addr) |
u_int | RCUC_BC_BCRST_cmd_encode (u_int addr) |
u_int | RCUC_BC_STCNV_cmd_encode (u_int addr) |
u_int | RCUC_BC_SCEVL_cmd_encode (u_int addr) |
u_int | RCUC_BC_EVLRDO_cmd_encode (u_int addr) |
u_int | RCUC_BC_STTSM_cmd_encode (u_int addr) |
u_int | RCUC_BC_ACQRDO_cmd_encode (u_int addr) |
Enumeration Type Documentation
|
BC instruction codes.
- Enumeration values:
-
BC_dummy_0 |
0x0 |
BC_T_TH |
0x1 |
BC_AV_TH |
0x2 |
BC_AC_TH |
|
BC_DV_TH |
|
BC_DC_TH |
|
BC_T |
|
BC_AV |
|
BC_AC |
|
BC_DV |
|
BC_DC |
|
BC_L1CNT |
|
BC_L2CNT |
|
BC_SCLKCNT |
|
BC_DSTBCNT |
|
BC_TSMWORD |
|
BC_USRATIO |
|
BC_CSR0 |
|
BC_CSR1 |
|
BC_CSR2 |
|
BC_CSR3 |
|
BC_FMD |
|
BC_CNTLAT |
|
BC_CNTCLR |
|
BC_CSR1CLR |
|
BC_ALRST |
|
BC_BCRST |
|
BC_STCNV |
|
BC_SCEVL |
|
BC_EVLRDO |
|
BC_STTSM |
|
BC_ACQRDO |
|
|
Function Documentation
u_int RCUC_BC_AC_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register AC.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_AC_TH_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register AC_TH.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_AC_TH_write_encode |
( |
u_int |
addr, |
|
|
u_int |
data |
|
) |
|
|
|
Encode instruction to write data to the BC register AC_TH .
- Parameters:
-
addr | Address |
data | Value to write to AC_TH |
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_ACQRDO_cmd_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to send BC command ACQRDO .
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_ALRST_cmd_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to send BC command ALRST .
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_AV_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register AV.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_AV_TH_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register AV_TH.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_AV_TH_write_encode |
( |
u_int |
addr, |
|
|
u_int |
data |
|
) |
|
|
|
Encode instruction to write data to the BC register AV_TH .
- Parameters:
-
addr | Address |
data | Value to write to AV_TH |
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_BCRST_cmd_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to send BC command BCRST .
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_CNTCLR_cmd_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to send BC command CNTCLR .
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_CNTLAT_cmd_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to send BC command CNTLAT .
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_CSR1CLR_cmd_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to send BC command CSR1CLR .
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_CSR_read_encode |
( |
u_int |
which, |
|
|
u_int |
addr |
|
) |
|
|
|
Encode instruction to read the BC register CSR.
- Parameters:
-
which | Which CSR register to read (0 to 3) |
addr | Address |
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_CSR_write_encode |
( |
u_int |
which, |
|
|
u_int |
addr, |
|
|
u_int |
data |
|
) |
|
|
|
Encode instruction to write data to the BC register CSR .
- Parameters:
-
which | Which CSR register to write to (0 to 3) |
addr | Address |
data | Value to write to CSR |
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_DC_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register DC.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_DC_TH_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register DC_TH.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_DC_TH_write_encode |
( |
u_int |
addr, |
|
|
u_int |
data |
|
) |
|
|
|
Encode instruction to write data to the BC register DC_TH .
- Parameters:
-
addr | Address |
data | Value to write to DC_TH |
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_DSTBCNT_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register DSTBCNT.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_DV_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register DV.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_DV_TH_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register DV_TH.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_DV_TH_write_encode |
( |
u_int |
addr, |
|
|
u_int |
data |
|
) |
|
|
|
Encode instruction to write data to the BC register DV_TH .
- Parameters:
-
addr | Address |
data | Value to write to DV_TH |
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_encode |
( |
u_int |
instr |
) |
|
|
|
Encode a BC instruction.
This really puts two instructions into the instruction set: one for the instruction itself, and one for the data. - Parameters:
-
instr | The instruction to encode. The data is set by the other BC encoding functions, and need not be passed here. |
- Returns:
- The partially compiled instruction
|
u_int RCUC_BC_EVLRDO_cmd_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to send BC command EVLRDO .
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_L1CNT_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register L1CNT.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_L2CNT_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register L2CNT.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_SCEVL_cmd_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to send BC command SCEVL .
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_SCLKCNT_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register SCLKCNT.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_STCNV_cmd_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to send BC command STCNV .
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_STTSM_cmd_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to send BC command STTSM .
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_T_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register T.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_T_TH_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register T_TH.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_T_TH_write_encode |
( |
u_int |
addr, |
|
|
u_int |
data |
|
) |
|
|
|
Encode instruction to write data to the BC register T_TH .
- Parameters:
-
addr | Address |
data | Value to write to T_TH |
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_TSMWORD_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register TSMWORD.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_TSMWORD_write_encode |
( |
u_int |
addr, |
|
|
u_int |
data |
|
) |
|
|
|
Encode instruction to write data to the BC register TSMWORD .
- Parameters:
-
addr | Address |
data | Value to write to TSMWORD |
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_USRATIO_read_encode |
( |
u_int |
addr |
) |
|
|
|
Encode instruction to read the BC register USRATIO.
- Parameters:
-
- Returns:
- partially compiled instruction.
|
u_int RCUC_BC_USRATIO_write_encode |
( |
u_int |
addr, |
|
|
u_int |
data |
|
) |
|
|
|
Encode instruction to write data to the BC register USRATIO .
- Parameters:
-
addr | Address |
data | Value to write to USRATIO |
- Returns:
- partially compiled instruction.
|
|