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

enum BC_Code
 

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:
addr Address
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:
addr Address
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:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_ALRST_cmd_encode u_int  addr  ) 
 

Encode instruction to send BC command ALRST.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_AV_read_encode u_int  addr  ) 
 

Encode instruction to read the BC register AV.

Parameters:
addr Address
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:
addr Address
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:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_CNTCLR_cmd_encode u_int  addr  ) 
 

Encode instruction to send BC command CNTCLR.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_CNTLAT_cmd_encode u_int  addr  ) 
 

Encode instruction to send BC command CNTLAT.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_CSR1CLR_cmd_encode u_int  addr  ) 
 

Encode instruction to send BC command CSR1CLR.

Parameters:
addr Address
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:
addr Address
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:
addr Address
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:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_DV_read_encode u_int  addr  ) 
 

Encode instruction to read the BC register DV.

Parameters:
addr Address
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:
addr Address
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:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_L1CNT_read_encode u_int  addr  ) 
 

Encode instruction to read the BC register L1CNT.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_L2CNT_read_encode u_int  addr  ) 
 

Encode instruction to read the BC register L2CNT.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_SCEVL_cmd_encode u_int  addr  ) 
 

Encode instruction to send BC command SCEVL.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_SCLKCNT_read_encode u_int  addr  ) 
 

Encode instruction to read the BC register SCLKCNT.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_STCNV_cmd_encode u_int  addr  ) 
 

Encode instruction to send BC command STCNV.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_STTSM_cmd_encode u_int  addr  ) 
 

Encode instruction to send BC command STTSM.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_BC_T_read_encode u_int  addr  ) 
 

Encode instruction to read the BC register T.

Parameters:
addr Address
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:
addr Address
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:
addr Address
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:
addr Address
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.

Top of page Last update Fri Jul 21 19:48:34 2006
Copyright © 2004 Christian Holm Created by DoxyGen 1.3.5