eGrabber-4plus
146
PHYTEC Meßtechnik GmbH 2004 L-608e_4
With Set_GPIO_Data each port pin is an output with the level setting
„High“ = 1 or „Low“ = 0. nData is a 12-bit value, whereas to each bit
one pin is assigned. The setting is only effective for those pins, which
are configured as output.
The function Get_GPIO_Data reads the data from the port pins,
which had been selected as input and returns a 12-bit value. The return
value for the pins configured as output, will be the actual setting.
Ø
Transmitting Data via the I²C Interface
With these functions it is possible to read and write to components
that are connected to the I²C interface.
Instructions on how to connect components or devices to the I²C-Bus
can be found in section 1.7.
Caution:
The I²C-EEPROM, found on the Grabber card, is protected against
accidental writing. Therefore, access to the device address space 0xA0
to 0xA3 is not allowed.
In order to obtain access to the internal EEPROM memory space,
please use the appropriate special functions.
void I2C_Set_BR_Mode (WORD nDevNo, BYTE bMode)
bMode
baud rate
eGrabber-4plus:
0 = 99,2 kHz, 1 = 396,8 kHz
eGrabber-2:
0 = 33 kHz, 1 = 290 kHz
This function determines the baud rate for transmission on the I²C bus.
A lower or a higher transmission rate can be selected.
Summary of Contents for eGrabber-4plus
Page 8: ...eGrabber 4plus PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 10: ...eGrabber 4plus PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 56: ...eGrabber 4plus 46 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 80: ...eGrabber 4plus 70 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 81: ...Part 2 Programmer s Manual PHYTEC Meßtechnik GmbH 2004 L 608e_4 71 Part 2 Programmer s Manual ...
Page 82: ...eGrabber 4plus 72 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 188: ...eGrabber 4plus 178 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 192: ...eGrabber 4plus 182 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 204: ...eGrabber 4plus 194 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 206: ...Published by PHYTEC Meßtechnik GmbH 2004 Ordering No L 608e_4 Printed in Germany ...