Test
Dependencies: mbed-dev-OS5_10_4
Diff: MySources/Chip1768.h
- Revision:
- 0:014fad4dfb9d
diff -r 000000000000 -r 014fad4dfb9d MySources/Chip1768.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MySources/Chip1768.h Fri Aug 07 07:24:21 2020 +0000 @@ -0,0 +1,48 @@ +/* +------------------------------------------------------------------------------- +Programm Name: Chip1768.H +Version: 1.0 +Sprache: C +Compiler: MBED +Autor: PS +Copyright: PS + + +Funktion: Protoypen und Externdefinitionen fuers Projekt + +28.10.2012: + +-------------------------------------------------------------------------------*/ +// Defines fuer AD7739 +#define AD7739_ADDR_COM 0x00 +#define AD7739_ADDR_IO 0x01 +#define AD7739_ADDR_REV 0x02 +#define AD7739_ADDR_TEST 0x03 +#define AD7739_ADDR_STATUS 0x04 +#define AD7739_ADDR_CHKSUM 0x05 +#define AD7739_ADDR_ZS_CAL 0x06 +#define AD7739_ADDR_FS_CAL 0x07 +#define AD7739_ADDR_C_DATA 0x08 +#define AD7739_ADDR_C_ZS 0x10 +#define AD7739_ADDR_C_FS 0x18 +#define AD7739_ADDR_C_STAT 0x20 +#define AD7739_ADDR_C_SET 0x28 +#define AD7739_ADDR_C_CT 0x30 +#define AD7739_ADDR_MODE 0x38 + +#define AD7739_READ_OP(addr) (0x40 | addr) +#define AD7739_WRITE_OP(addr) (addr) +#define AD7739_CHANNEL(addr, ch) (addr | ch) + + + + + + + + + + +// Funktionen aus NetIo.c +extern int InitEthernet(); +