; --------------------------------------------------------------------------------
; @Title: Peripheral File for LTX970 connected to MPC860T
; @Description: -
; @Author: -
; @Copyright: (C) 1989-2014 Lauterbach GmbH, licensed for use with TRACE32(R) only 
; --------------------------------------------------------------------------------
; $Id: ltx970.per 7062 2014-05-06 14:17:31Z kjmal $

;LTX970 connected to MPC860T

config 16. 8.
width 10. 

base data.long(spr:638.)&0x0ffff0000

group 0x0e80++0x3 "Standard Registers"
 out 0x0e80 %l 0x6f820200
 line.long 0x0 "CONTROL,Control Register (0)" 
  bitfld.long 0x0 15. "RES ,Reset" "no,yes"
  bitfld.long 0x0 14. " LOOP ,Loopback" "no,yes"
  bitfld.long 0x0 13. " SPEED ,Speed" "10,100"
  bitfld.long 0x0 12. " AN ,Auto Negotiation" "no,yes"
  bitfld.long 0x0 11. " POW ,Enable Power Down" "no,yes"
  bitfld.long 0x0 10. " ISO ,Isolate" "no,yes"
  bitfld.long 0x0 9. " RAN ,Restart Auto-Negotioation" "no,yes"
  bitfld.long 0x0 8. " DUP ,Duplex Mode" "half,full"
  textline "                   "
  bitfld.long 0x0 7. "CT ,Colision Test" "no,yes"
group 0x0e80++0x3
 out 0x0e80 %l 0x6f860000
 line.long 0x0 "STATUS,Status Register (1)" 
  bitfld.long 0x0 5. "ANC ,Auto-Negotiation Complete" "no,yes"
  bitfld.long 0x0 4. "  RF ,Remote Fault" "no,yes"
  bitfld.long 0x0 3. "  ANA ,Auto-Negotiation Ability" "no,yes"
  bitfld.long 0x0 2. "  STAT ,Link Status" "down,up"
  bitfld.long 0x0 1. "  JD ,Jabber Detect" "no,yes"
group 0x0e80++0x3
 out 0x0e80 %l 0x6f8a0000
 line.long 0x0 "PHYID1,PHY Identification Register 1 (2)" 
group 0x0e80++0x3
 out 0x0e80 %l 0x6f8e0000
 line.long 0x0 "PHYID2,PHY Identification Register 2 (3)" 
group 0x0e80++0x3
 out 0x0e80 %l 0x6f920000
 line.long 0x0 "AUTOADV,Autonegotiation Advertisement Register (4)" 
group 0x0e80++0x3
 out 0x0e80 %l 0x6f960000
 line.long 0x0 "AUTOABI,Autonegotiation Link Partner Ability Register (5)" 
group 0x0e80++0x3
 out 0x0e80 %l 0x6f9a0000
 line.long 0x0 "AUTOEXP,Autonegotiation Expansion Register (6)" 
group 0x0e80++0x3 "Advanced Registers"
 out 0x0e80 %l 0x6fc20000
 line.long 0x0 "MIRROR,Mirror Register (10)" 
group 0x0e80++0x3
 out 0x0e80 %l 0x6fc60000
 line.long 0x0 "INTENA,Interrupt Enable Register (11)" 
group 0x0e80++0x3
 out 0x0e80 %l 0x6fca0000
 line.long 0x0 "INTSTAT,Interrupt Status Register (12)" 
group 0x0e80++0x3
 out 0x0e80 %l 0x6fce0000
 line.long 0x0 "CONFIG,Configuration Register (13)" 
  bitfld.long 0x0 14. "TXTST ,100BASE-T Transmitter Test" "no,yes"
  bitfld.long 0x0 13. "  REP ,Repeater Mode" "no,yes"
  bitfld.long 0x0 12. "  MDIO_INT ,Enable Interrupt" "no,yes"
  bitfld.long 0x0 11. "  TPL ,10BASE-T Loopback" "yes,no"
  bitfld.long 0x0 10. "  SQE ,Enable SQE" "no,yes"
  bitfld.long 0x0 9. "  JAB ,Enable Jabber" "yes,no"
  bitfld.long 0x0 8. "  LT ,Link Test" "yes,no"
  textline "                   "
  bitfld.long 0x0 0x6--0x7 "LEDC ,LEDC Control" "col,off,act,on"
  bitfld.long 0x0 0x5 "  ATXC ,Advance TX Clock" "no,yes"
  bitfld.long 0x0 0x4 "  5BS ,5B Symbol" "no,yes"
  bitfld.long 0x0 0x3 "  SCR ,Scrambler" "no,yes"
  bitfld.long 0x0 0x2 "  FX ,100BASE-FX" "no,yes"
  bitfld.long 0x0 0x0 "  TD ,Transmit Disconnect" "no,yes"
group 0x0e80++0x3
 out 0x0e80 %l 0x6fd20000
 line.long 0x0 "CSTATUS,Chip Status Register (14)"
  bitfld.long 0x0 13. "LINK ,Link Status" "down,up"
  bitfld.long 0x0 12. "  DUP ,Duplex Mode" "half,full"
  bitfld.long 0x0 11. "  SPEED ,Speed" "10,100"
  bitfld.long 0x0 9. "  ANC ,Auto-Negotiation Complete" "no,yes"
  bitfld.long 0x0 8. "  PR ,Page Received" "no,yes"
  textline "                   "
  bitfld.long 0x0 0x2 "LV ,Low Voltage" "no,yes"




