# Read records grecord( longin, "$(P):$(ADDR):prescale_r" ) { field(DTYP, "asynUInt32Digital") field(SCAN, "I/O Intr") field(INP , "@asynMask($(PORT),$(ADDR),0xffffffff,1) PRESCALE") field(EGU , "x") field(LOPR, "1") field(HOPR, "512") } grecord( mbbi, "$(P):$(ADDR):duty_mode_r" ) { field(DTYP, "asynUInt32Digital") field(SCAN, "I/O Intr") field(NOBT, "2") field(INP , "@asynMask($(PORT),$(ADDR),0xffffffff,1) DUTY_MODE") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(ZRST, "~50%") field(ONST, "MINIMUM") field(TWST, "MAXIMUM") } grecord( ai, "$(P):$(ADDR):duty_cycle_r" ) { field(DTYP, "asynFloat64") field(SCAN, "I/O Intr") field(INP , "@asyn($(PORT),$(ADDR),1) DUTY_CYCLE") field(LOPR, "0.0") field(HOPR, "1.0") field(PREC, "2") } # Write records grecord( longout, "$(P):$(ADDR):prescale_w" ) { field(DTYP, "asynUInt32Digital") field(SCAN, "Passive") field(PINI, "YES") field(OUT , "@asynMask($(PORT),$(ADDR),0xffffffff,1) PRESCALE") field(EGU , "x") field(LOPR, "1") field(HOPR, "512") } grecord( mbbo, "$(P):$(ADDR):duty_mode_w" ) { field(DTYP, "asynUInt32Digital") field(SCAN, "Passive") field(VAL , "0") field(PINI, "YES") field(NOBT, "2") field(OUT , "@asynMask($(PORT),$(ADDR),0xffffffff,1) DUTY_MODE") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(ZRST, "~50%") field(ONST, "MINIMUM") field(TWST, "MAXIMUM") }