# bpod_core.constants

Constants and identifiers used throughout the package.

## Classes

### *class* bpod_core.constants.TeensyPID

Bases: [`IntEnum`](https://docs.python.org/3/library/enum.html#enum.IntEnum)

Product 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.INT8_MIN *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= -128*

Minimum value for a signed 8-bit integer.

### bpod_core.constants.INT16_MIN *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= -32768*

Minimum value for a signed 16-bit integer.

### bpod_core.constants.INT32_MIN *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= -2147483648*

Minimum value for a signed 32-bit integer.

### bpod_core.constants.INT64_MIN *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= -9223372036854775808*

Minimum value for a signed 64-bit integer.

### bpod_core.constants.INT8_MAX *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= 127*

Maximum value for a signed 8-bit integer.

### bpod_core.constants.INT16_MAX *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= 32767*

Maximum value for a signed 16-bit integer.

### bpod_core.constants.INT32_MAX *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= 2147483647*

Maximum value for a signed 32-bit integer.

### bpod_core.constants.INT64_MAX *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= 9223372036854775807*

Maximum value for a signed 64-bit integer.

### bpod_core.constants.UINT8_MAX *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= 255*

Maximum value for an unsigned 8-bit integer.

### bpod_core.constants.UINT16_MAX *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= 65535*

Maximum value for an unsigned 16-bit integer.

### bpod_core.constants.UINT32_MAX *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= 4294967295*

Maximum value for an unsigned 32-bit integer.

### bpod_core.constants.FMT_UINT8 *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)* *= 'B'*

Format string for an unsigned 8-bit integer.

### bpod_core.constants.FMT_UINT16_LE *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)* *= '<H'*

Format string for an unsigned 16-bit integer (little-endian).

### bpod_core.constants.FMT_UINT32_LE *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)* *= '<I'*

Format string for an unsigned 32-bit integer (little-endian).

### bpod_core.constants.FMT_UINT64_LE *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)* *= '<Q'*

Format string for an unsigned 64-bit integer (little-endian).

### bpod_core.constants.FMT_INT8 *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)* *= 'b'*

Format string for a signed 8-bit integer.

### bpod_core.constants.FMT_INT16_LE *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)* *= '<h'*

Format string for a signed 16-bit integer (little-endian).

### bpod_core.constants.FMT_INT32_LE *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)* *= '<i'*

Format string for a signed 32-bit integer (little-endian).

### bpod_core.constants.FMT_INT64_LE *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)* *= '<q'*

Format string for a signed 64-bit integer (little-endian).

### bpod_core.constants.STRUCT_UINT8 *: [Struct](https://docs.python.org/3/library/struct.html#struct.Struct)* *= Struct('B')*

Compiled struct representing an unsigned 8-bit integer.

### bpod_core.constants.STRUCT_UINT16_LE *: [Struct](https://docs.python.org/3/library/struct.html#struct.Struct)* *= Struct('<H')*

Compiled struct representing an unsigned 16-bit integer (little-endian).

### bpod_core.constants.STRUCT_UINT32_LE *: [Struct](https://docs.python.org/3/library/struct.html#struct.Struct)* *= Struct('<I')*

Compiled struct representing an unsigned 32-bit integer (little-endian).

### bpod_core.constants.STRUCT_UINT64_LE *: [Struct](https://docs.python.org/3/library/struct.html#struct.Struct)* *= Struct('<Q')*

Compiled struct representing an unsigned 64-bit integer (little-endian).

### bpod_core.constants.STRUCT_INT8 *: [Struct](https://docs.python.org/3/library/struct.html#struct.Struct)* *= Struct('b')*

Compiled struct representing a signed 8-bit integer.

### bpod_core.constants.STRUCT_INT16_LE *: [Struct](https://docs.python.org/3/library/struct.html#struct.Struct)* *= Struct('<h')*

Compiled struct representing a signed 16-bit integer (little-endian).

### bpod_core.constants.STRUCT_INT32_LE *: [Struct](https://docs.python.org/3/library/struct.html#struct.Struct)* *= Struct('<i')*

Compiled struct representing a signed 32-bit integer (little-endian).

### bpod_core.constants.STRUCT_INT64_LE *: [Struct](https://docs.python.org/3/library/struct.html#struct.Struct)* *= Struct('<q')*

Compiled struct representing a signed 64-bit integer (little-endian).

### bpod_core.constants.IPV4_LOOPBACK *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)* *= '127.0.0.1'*

IPv4 loopback address.

### bpod_core.constants.IPV4_WILDCARD *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)* *= '0.0.0.0'*

IPv4 wildcard address for binding to all interfaces.

### bpod_core.constants.VID_TEENSY *: [int](https://docs.python.org/3/builtins/functions.html#int)* *= 5824*

Vendor ID of Teensy microcontrollers.
