@@ -141,3 +141,91 @@ record(longin, "$(P)$(R)Alive-Mon"){
141141 field(INP,"@asyn($(PORT))ALIVE")
142142 field(SCAN,"I/O Intr")
143143}
144+
145+ record(bo, "$(P)$(R)UpstreamDebugEn-Sel"){
146+ field(DTYP, "asynInt32")
147+ field(DESC, "Enable upstream debug")
148+ field(PINI, YES)
149+ field(ZNAM, "Dsbl")
150+ field(ONAM, "Enbl")
151+ field(OUT, "@asyn($(PORT))DBG_EN")
152+ }
153+ record(bi, "$(P)$(R)UpstreamDebugEn-Sts"){
154+ field(DTYP, "asynInt32")
155+ field(DESC, "Enable upstream debug")
156+ field(PINI, YES)
157+ field(ZNAM, "Dsbl")
158+ field(ONAM, "Enbl")
159+ field(INP, "@asyn($(PORT))DBG_EN")
160+ field(SCAN, "I/O Intr")
161+ }
162+
163+ record(bo, "$(P)$(R)UpstreamDebugCounterRst-Cmd"){
164+ field(DTYP, "asynInt32")
165+ field(DESC, "Reset debug counter")
166+ field(OUT, "@asyn($(PORT))DBG_COUNTER_RST")
167+ field(PINI, YES)
168+ field(MASK, 1)
169+ field(HIGH, 1)
170+ field(ZNAM, nothing)
171+ field(ONAM, reset)
172+ }
173+
174+ record(longout, "$(P)$(R)UpstreamDebugEvtIn-SP"){
175+ field(DTYP, "asynInt32")
176+ field(DESC, "Downstream start event")
177+ field(PINI, YES)
178+ field(OUT, "@asyn($(PORT))DBG_EVT_DS_START")
179+ }
180+ record(longin, "$(P)$(R)UpstreamDebugEvtIn-RB"){
181+ field(DTYP, "asynInt32")
182+ field(DESC, "Downstream start event")
183+ field(INP, "@asyn($(PORT))DBG_EVT_DS_START")
184+ field(SCAN, "I/O Intr")
185+ }
186+
187+ record(longout, "$(P)$(R)UpstreamDebugEvtOut-SP"){
188+ field(DTYP, "asynInt32")
189+ field(DESC, "Upstream event")
190+ field(PINI, YES)
191+ field(OUT, "@asyn($(PORT))DBG_EVT_US")
192+ }
193+ record(longin, "$(P)$(R)UpstreamDebugEvtOut-RB"){
194+ field(DTYP, "asynInt32")
195+ field(DESC, "Upstream event")
196+ field(INP, "@asyn($(PORT))DBG_EVT_US")
197+ field(SCAN, "I/O Intr")
198+ }
199+
200+ record(longout, "$(P)$(R)UpstreamDebugSpacing-SP"){
201+ field(DTYP, "asynInt32")
202+ field(DESC, "Spacing between upstream events")
203+ field(PINI, YES)
204+ field(OUT, "@asyn($(PORT))DBG_EVT_SPACING")
205+ }
206+ record(longin, "$(P)$(R)UpstreamDebugSpacing-RB"){
207+ field(DTYP, "asynInt32")
208+ field(DESC, "Spacing between upstream events")
209+ field(INP, "@asyn($(PORT))DBG_EVT_SPACING")
210+ field(SCAN, "I/O Intr")
211+ }
212+
213+ record(longout, "$(P)$(R)UpstreamDebugReps-SP"){
214+ field(DTYP, "asynInt32")
215+ field(DESC, "Upstream event repetitions")
216+ field(PINI, YES)
217+ field(OUT, "@asyn($(PORT))DBG_EVT_REPS")
218+ }
219+ record(longin, "$(P)$(R)UpstreamDebugReps-RB"){
220+ field(DTYP, "asynInt32")
221+ field(DESC, "Upstream event repetitions")
222+ field(INP, "@asyn($(PORT))DBG_EVT_REPS")
223+ field(SCAN, "I/O Intr")
224+ }
225+
226+ record(longin, "$(P)$(R)UpstreamDebugCounter-Mon"){
227+ field(DTYP, "asynInt32")
228+ field(DESC, "Debug procedure counter")
229+ field(INP, "@asyn($(PORT))DBG_COUNTER")
230+ field(SCAN, "I/O Intr")
231+ }
0 commit comments