USBHub3c

Class

class aUSBHub3c : public Acroname::BrainStem::Module

Concrete Module implementation of a USBHub3c Allows a user to connect to and control an attached hub.

Public Types

enum PORT_ID

Port ID

Values:

enumerator kPORT_ID_0
enumerator kPORT_ID_1
enumerator kPORT_ID_2
enumerator kPORT_ID_3
enumerator kPORT_ID_4
enumerator kPORT_ID_5
enumerator kPORT_ID_CONTROL
enumerator kPORT_ID_POWER_C
typedef enum aUSBHub3c::PORT_ID PORT_ID_t

Port ID

Public Members

HubClass hub

Hub Class

Acroname::BrainStem::AppClass app[aUSBHUB3C_NUM_APPS]

App Class

Acroname::BrainStem::PointerClass pointer[aUSBHUB3C_NUM_POINTERS]

Pointer Class

Acroname::BrainStem::PowerDeliveryClass pd[aUSBHUB3C_NUM_PD_PORTS]

Power Delivery Class

Acroname::BrainStem::RailClass rail[aUSBHUB3C_NUM_RAILS]

Rail Class

Acroname::BrainStem::StoreClass store[aUSBHUB3C_NUM_STORES]

Store Class

Acroname::BrainStem::SystemClass system

System Class

Acroname::BrainStem::TemperatureClass temperature[aUSBHUB3C_NUM_TEMPERATURES]

Temperature Class

Acroname::BrainStem::TimerClass timer[aUSBHUB3C_NUM_TIMERS]

Timer Class

Acroname::BrainStem::I2CClass i2c[aUSBHUB3C_NUM_I2C]

I2C Class

Acroname::BrainStem::USBClass usb

USB Class

Acroname::BrainStem::UARTClass uart[aUSBHUB3C_NUM_UART]

UART Class

class HubClass : public Acroname::BrainStem::USBSystemClass

Hub class implementation for use with USBHub3c.

Defines

aUSBHUB3C_MODULE 6

USBHub3c module number

aUSBHUB3C_NUM_APPS 4

Number of App instances available

aUSBHUB3C_NUM_POINTERS 4

Number of Pointer instances available

aUSBHUB3C_NUM_STORES 2

Number of Store instances available

aUSBHUB3C_NUM_INTERNAL_SLOTS 12

Store: Number of internal slots instances available

aUSBHUB3C_NUM_RAM_SLOTS 1

Store: Number of RAM slot instances available

aUSBHUB3C_STORE_INTERNAL_INDEX 0

Store: Array index for internal store

aUSBHUB3C_STORE_RAM_INDEX 1

Store: Array index for RAM store

aUSBHUB3C_STORE_EEPROM_INDEX 2

Store: Array index for EEPROM store

aUSBHUB3C_NUM_TEMPERATURES 3

Number of Temperature instances available

aUSBHUB3C_NUM_TIMERS 8

Number of Timer instances available

aUSBHUB3C_NUM_USB 1

Number of USB instances available

aUSBHUB3C_NUM_USB_PORTS 8

Number of USB ports available

aUSBHUB3C_NUM_PORTS 8

Number of Ports available

aUSBHUB3C_NUM_PD_PORTS 8

Number of PD compatible ports available

aUSBHUB3C_NUM_PD_RULES_PER_PORT 7

Number of PD Rules per port available

aUSBHUB3C_NUM_RAILS 7

Number of Rail instances available

aUSBHUB3C_NUM_I2C 1

Number of I2C instances available

aUSBHUB3C_NUM_UART 1

Number of UART instances available