bpod_core.constants#
Constants and identifiers used throughout the package.
Classes#
- class bpod_core.constants.TeensyPID #
Bases:
IntEnumProduct IDs of Teensy microcontrollers.
- DUAL_SERIAL = 1163#
Product ID of Teensy microcontrollers with dual USB serial ports.
- SERIAL = 1155#
Product ID of Teensy microcontrollers with single USB serial port.
- TRIPLE_SERIAL = 1164#
Product ID of Teensy microcontrollers with triple USB serial ports.
Attributes#
- bpod_core.constants.INT64_MIN: int = -9223372036854775808#
Minimum value for a signed 64-bit integer.
- bpod_core.constants.INT64_MAX: int = 9223372036854775807#
Maximum value for a signed 64-bit integer.
- bpod_core.constants.FMT_UINT16_LE: str = '<H'#
Format string for an unsigned 16-bit integer (little-endian).
- bpod_core.constants.FMT_UINT32_LE: str = '<I'#
Format string for an unsigned 32-bit integer (little-endian).
- bpod_core.constants.FMT_UINT64_LE: str = '<Q'#
Format string for an unsigned 64-bit integer (little-endian).
- bpod_core.constants.FMT_INT16_LE: str = '<h'#
Format string for a signed 16-bit integer (little-endian).
- bpod_core.constants.FMT_INT32_LE: str = '<i'#
Format string for a signed 32-bit integer (little-endian).
- bpod_core.constants.FMT_INT64_LE: str = '<q'#
Format string for a signed 64-bit integer (little-endian).
- bpod_core.constants.STRUCT_UINT8: Struct = Struct('B')#
Compiled struct representing an unsigned 8-bit integer.
- bpod_core.constants.STRUCT_UINT16_LE: Struct = Struct('<H')#
Compiled struct representing an unsigned 16-bit integer (little-endian).
- bpod_core.constants.STRUCT_UINT32_LE: Struct = Struct('<I')#
Compiled struct representing an unsigned 32-bit integer (little-endian).
- bpod_core.constants.STRUCT_UINT64_LE: Struct = Struct('<Q')#
Compiled struct representing an unsigned 64-bit integer (little-endian).
- bpod_core.constants.STRUCT_INT8: Struct = Struct('b')#
Compiled struct representing a signed 8-bit integer.
- bpod_core.constants.STRUCT_INT16_LE: Struct = Struct('<h')#
Compiled struct representing a signed 16-bit integer (little-endian).
- bpod_core.constants.STRUCT_INT32_LE: Struct = Struct('<i')#
Compiled struct representing a signed 32-bit integer (little-endian).
- bpod_core.constants.STRUCT_INT64_LE: Struct = Struct('<q')#
Compiled struct representing a signed 64-bit integer (little-endian).