; --------------------------------------------------------------------------------
; @Title: Peripheral File for FUJITSU NICE Ethernet Controller
; @Description: -
; @Author: -
; @Copyright: (C) 1989-2014 Lauterbach GmbH, licensed for use with TRACE32(R) only 
; --------------------------------------------------------------------------------
; $Id: nice.per 7062 2014-05-06 14:17:31Z kjmal $


;FUJITSU NICE ETHERNET CONTROLLER

group IO:0x00a0--0x00a7 "NICE"
 line.byte 0x0 "TS,Transmit Status"
  bit 0x7 "OK,Transmit OK" "no,yes"
  bit 0x6 "BSY,Network Busy" "no,yes"
  bit 0x5 "REC,Transmit Received" "no,yes"
  bit 0x4 "SRT,Short Packet" "no,yes"
  bit 0x2 "COL,Collision", "no,yes"
  bit 0x1 "16COL,16 Collisions", "no,yes"
  bit 0x0 "BERR,Bus Write Error", "no,yes"

 line.byte 0x1 "RS,Receive Status"
  bit 0x7 "RDY,Packet Ready" "no,yes"
  bit 0x6 "BERR,Bus Read Error" "no,yes"
  bit 0x5 "EOP,End of Process DMA " "no,yes"
  bit 0x4 "RMT,Remote Reset ??" "no,yes"
  bit 0x3 "SRT,Short Packet" "no,yes"
  bit 0x2 "ALG,Alignment Error" "no,yes"
  bit 0x1 "CRC,CRC Error" "no,yes"
  bit 0x0 "OVR,Overrun Error" "no,yes"

 line.byte 0x2 "TIM,Transmit Interrupt Mask"
  bit 0x7 "OK,Transmit OK" "no,yes"
  bit 0x5 "REC,Transmit Received" "no,yes"
  bit 0x2 "COL,Collision", "no,yes"
  bit 0x1 "16COL,16 Collisions", "no,yes"
  bit 0x0 "BERR,Bus Write Error", "no,yes"

 line.byte 0x3 "RIM,Receive Interrupt Mask"
  bit 0x7 "RDY,Packet Ready" "no,yes"
  bit 0x6 "BERR,Bus Read Error" "no,yes"
  bit 0x5 "EOP,DMA EOP ??" "no,yes"
  bit 0x4 "RMT,Remote Reset ??" "no,yes"
  bit 0x3 "SRT,Short Packet" "no,yes"
  bit 0x2 "ALG,Alignment Error" "no,yes"
  bit 0x1 "CRC,CRC Error" "no,yes"
  bit 0x0 "OVR,Overrun Error" "no,yes"

 line.byte 0x4 "TM,Transmit Mode"
  bit 0x4--0x7 "COLCTR,Collision Counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
  bit 0x3 "TST,Chip Test" "no,yes"
  bit 0x2 "TM,Test Mode (????)" "yes,no"
  bit 0x1 "LBC,Loopback Mode" "yes,no"
  bit 0x0 "DSC,Disable Carrier Detect" "no,yes"

 line.byte 0x5 "RM,Receive Mode"
  bit 0x7 "CRC,Test CRC" "no,yes"
  bit 0x6 "EMP,Buffer Empty" "no,yes"
  bit 0x5 "BPKT,Accept bad Packet" "no,yes"
  bit 0x4 "ASIZ,Address Size" "6,5"
  bit 0x3 "SRT,Short Packet Enable" "no,yes"
  bit 0x2 "RST,Remote Reset Enable" "no,yes"
  bit 0x0--0x1 "AM,Addressing Mode" "none,normal,multicast,promiscuous"

 line.byte 0x6 "CR1,Control Register 1"
  bit 0x7 "DLC,Enable DLC" "yes,no"
  bit 0x6 "RAM,RAM Speed ??" "100,150"
  bit 0x5 "SB,System Bus" "word,byte"
  bit 0x4 "BB,Buffer Bus" "word,byte"
  bit 0x2--0x3 "TXS,Transmitter Buffer Size" "2K,4K,8K,16K"
  bit 0x0--0x1 "BUFS,Buffer Size" "8K,16K,32K,64K"

 line.byte 0x7 "CR2,Control Register 2"
  bit 0x6--0x7 "CNF,Configuration" "NICE,EXTERNAL,MONITOR,ENDEC"
  bit 0x5 "???,???" "no,yes"
  bit 0x4 "RDY,Ready Polarity" "low,high"
  bit 0x2--0x3 "BNK,Bank Select" "0,1,2,3"
  bit 0x1 "EOP,End Of Process Polarity" "low,high"
  bit 0x0 "DO,Data Order ??" "no,yes"

