Version (Class)

class usbx.Version(bcd_version: int)

Semantic version number.

bcd_version contains the version: the high byte is the major version. The low byte is split into two nibbles (4 bits), the high one is the minor version, the lower one is the subminor version. As an example, 0x0321 represents the version 3.2.1.

bcd_version: int

Version, encoded as BCD.

property major: int

Major version.

property minor: int

Minor version.

property subminor: int

Subminor version.