Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ursgraf committed Nov 30, 2023
1 parent bf233b8 commit 0b3eeb6
Showing 1 changed file with 31 additions and 13 deletions.
44 changes: 31 additions & 13 deletions flink_definitions.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,29 @@
__author__ = "Urs Graf, Patrick Good"
__license__ = "http://www.apache.org/licenses/LICENSE-2.0"
__version__ = "1.0"
#
# _________ _____ _____ ____ _____ ___ ____
# |_ ___ | |_ _| |_ _| |_ \|_ _| |_ ||_ _|
# | |_ \_| | | | | | \ | | | |_/ /
# | _| | | _ | | | |\ \| | | __'.
# _| |_ _| |__/ | _| |_ _| |_\ |_ _| | \ \_
# |_____| |________| |_____| |_____|\____| |____||____|
#
#
#
# flink definitions
#
# THIS FILE WAS CREATED AUTOMATICALLY - do not change
#
# Created with: flinkinterface/func_id/
# create_flink_definitions.python.sh
#
#

REGISTER_WIDTH = 4 # in byte
REGISTER_WIDTH_BIT = REGISTER_WIDTH * 8
HEADER_SIZE = 16 # in byte
__author__ = Urs Graf, Patrick Good
__license__ = http://www.apache.org/licenses/LICENSE-2.0
__version__ = 1.0

REGISTER_WIDTH = 4 # in byte
REGISTER_WIDTH_BIT = REGISTER_WIDTH * 8
HEADER_SIZE = 16 # in byte
SUBHEADER_SIZE = 16 # in byte
TOTAL_HEADER_SIZE = HEADER_SIZE + SUBHEADER_SIZE

Expand All @@ -16,8 +35,9 @@
MOD_CONF_OFFSET = 0x14 # in byte

INFO_DESC_SIZE = 28 # in byte

INFO_INTERFACE_ID = 0x00


INFO_DEVICE_ID = 0x00
ANALOG_INPUT_INTERFACE_ID = 0x01
ANALOG_OUTPUT_INTERFACE_ID = 0x02
GPIO_INTERFACE_ID = 0x05
Expand All @@ -30,8 +50,6 @@
STEPPER_MOTOR_INTERFACE_ID = 0x15
IRQ_MULTIPLEXER_INTERFACE_ID = 0x18


REFELCTIV_SENSOR_SUBTYP = 0x4

INTERFACE_TYPE_MASK = 0xFFFF
INFO_DEVICE_SIZE = 0x80
REFLECTIVE_SENSOR_SUBTYP = 0x4
INTERFACE_TYPE_MASK = 0xFFFF
INFO_DEVICE_SIZE = 0x80

0 comments on commit 0b3eeb6

Please sign in to comment.