12.3 List of error codes.
This chapter defines the individual error numbers. Each error number is related to a
software module. For each error number the code used in the software is defined, the
number is defined and a short description about the purpose of the software module is
given.
12.3.1 Drivers (0XX)
The driver layer contains modules responsible for direct interaction with the hardware and
some general utility routines.
Error name Nr. Description
ERR_ADC 1 Analog to digital converter subsystem of the C167
2 Not used
ERR_ASCMAI
N
3 Serial interface data interpreter
ERR_ASW 4 Analog switch control (U34/U35)
ERR_BUZ 5 Buzzer
ERR_CCR 6 Capture compare registers, subsystem of the C167
ERR_CCT 7 Capture compare timers, subsystem of the C167
ERR_CHOP 8 Electrotherapy chopper
ERR_CRC 9 Software utility, CRC checksum support
ERR_DAC12 10 12 bits DAC control (amplitude, surge & vector)
ERR_DRW135
3
11 LCD controller 1353 support
ERR_DRWBM 12 LCD bitmap routines
ERR_DRWGR 13 LCD graphics routines
14 Not used
ERR_DRWTXT 15 LCD Text display
ERR_DRWVIP 16 LCD support for the VIP program
ERR_DS1 17 Dallas 1-wire bit level protocol
ERR_DS250X 18 Dallas DS2502 OTP support
ERR_FET 19 Direct control for the chopper FET’s
ERR_FRQ 20 Electrotherapy frequency control
ERR_GPT1 21 General purpose timers group 1, C167
ERR_GPT2 22 General purpose timers group 2, C167
ERR_I2C 23 Bit level serial I2C support
4 I²C connection to E²PROM down (during self test)
ERR_IMATH 24 Integer math routines
25 Not used
ERR_LCM 26 Lost-contact measurement and determination
ERR_LSIO 27 Laser I/O
ERR_LFD 28 Low frequency DAC (rect., tria., diadynamic)
ERR_LSF 29 Laser frequency
ERR_PEC 30 Peripheral event control, C167
ERR_PPI 31 82C55 I/O chip support
ERR_PWM 32 Pulse-width modulation support, C167
ERR_REL 33 Relay driver
Phyaction Guidance E/C – service manual version 0.5 Page 45