Assignment - Add Asynchronous Input Device Support that reads memory in one task and asynchronously updates an EPICS record ---------------------------------------------------------------- Add an RTEMS driver task that periodically reads 2 bytes on the VMEbus A16 space. The period and base address to read are provided via a hardware configuration routine before iocInit. The driver stores the result (and status) and when it finds that it has changed, it forces processing of a longin record using scanIoRequest. Add device support for the longin record to support I/O Intr processing and to use the probe result (value and status) from memory (mutex-protected) to set its VAL and appropriate STAT/SEVR. Create a database with 1 longin record, using the device support. See Chapter 6.6 of the app dev guide for setting up the device database definition file. See section 6.12.2 for setting up the record's DTYP and INP fields. See the following sections of the app dev guide: 20.10.2 epicsMutex interface 10.14.1 epicsThreadSleep 17.4.3 I/O Event Scanning 20.20 Device Support Library (devLib, for devRegisterAddress) 6.8 Registrar Declaration 13.2 Device Drivers 11.6.1 recGblSetSevr See lab4Hints for hints on how to proceed.