DataI2CHeader are all command headers used in DataI2CPacket.
More...
|
def | __new__ (cls, value, doc=None) |
| overwrite to enable doc strings for enum elements as second argument. More...
|
|
DataI2CHeader are all command headers used in DataI2CPacket.
the description explains the function of the individual commands.
Definition at line 324 of file header.py.
◆ __new__()
def __new__ |
( |
|
cls, |
|
|
|
value, |
|
|
|
doc = None |
|
) |
| |
overwrite to enable doc strings for enum elements as second argument.
Definition at line 330 of file header.py.
◆ IN_I2C0
Initial value:= 25, """
sends an 8 or 16 bit word or recives a specified number of bytes on the I2C interface
uses data_i2c
- device_address is the 7bit (MS) address of the device and the LSB indicates Read(1)/Write(0) following the i2c standard
- register_address is the 8bit register address
- value_ms is the MS 8bit to be send
- value_ls is the LS 8bit to be send or the number of bytes to read
"""
Definition at line 340 of file header.py.
◆ IN_I2C1
Initial value:= 26, """
sends an 8 or 16 bit word or recives a specified number of bytes on the I2C interface
uses data_i2c
- device_address is the 7bit (MS) address of the device and the LSB indicates Read(1)/Write(0) following the i2c standard
- register_address is the 8bit register address
- value_ms is the MS 8bit to be send
- value_ls is the LS 8bit to be send or the number of bytes to read
"""
Definition at line 349 of file header.py.
◆ IN_I2C2
Initial value:= 27, """
sends an 8 or 16 bit word or recives a specified number of bytes on the I2C interface
uses data_i2c
- device_address is the 7bit (MS) address of the device and the LSB indicates Read(1)/Write(0) following the i2c standard
- register_address is the 8bit register address
- value_ms is the MS 8bit to be send
- value_ls is the LS 8bit to be send or the number of bytes to read
"""
Definition at line 358 of file header.py.
◆ OUT_I2C0
Initial value:= 125, """
responce to the IN_SPI0 packet
uses data_i2c
- exec_time the current run time
- value the 8bit word that was read on the SPI
"""
Definition at line 367 of file header.py.
◆ OUT_I2C1
Initial value:= 126, """
responce to the IN_SPI1 packet
uses data_i2c
- exec_time the current run time
- value the 8bit word that was read on the SPI
"""
Definition at line 374 of file header.py.
◆ OUT_I2C2
Initial value:= 127, """
responce to the IN_SPI2 packet
uses data_i2c
- exec_time the current run time
- value the 8bit word that was read on the SPI
"""
Definition at line 381 of file header.py.
The documentation for this class was generated from the following file: