Open FFBoard
Open source force feedback firmware
ohci_registers_t Struct Reference

#include <ohci.h>

Public Attributes

uint32_t revision
 
union {
   uint32_t   control
 
   struct {
      uint32_t   control_bulk_service_ratio: 2
 
      uint32_t   periodic_list_enable: 1
 
      uint32_t   isochronous_enable: 1
 
      uint32_t   control_list_enable: 1
 
      uint32_t   bulk_list_enable: 1
 
      uint32_t   hc_functional_state: 2
 
      uint32_t   interrupt_routing: 1
 
      uint32_t   remote_wakeup_connected: 1
 
      uint32_t   remote_wakeup_enale: 1
 
      uint32_t   TU_RESERVED: 21
 
   }   control_bit
 
}; 
 
union {
   uint32_t   command_status
 
   struct {
      uint32_t   controller_reset: 1
 
      uint32_t   control_list_filled: 1
 
      uint32_t   bulk_list_filled: 1
 
      uint32_t   ownership_change_request: 1
 
      uint32_t   __pad0__: 12
 
      uint32_t   scheduling_overrun_count: 2
 
   }   command_status_bit
 
}; 
 
uint32_t interrupt_status
 
uint32_t interrupt_enable
 
uint32_t interrupt_disable
 
uint32_t hcca
 
uint32_t period_current_ed
 
uint32_t control_head_ed
 
uint32_t control_current_ed
 
uint32_t bulk_head_ed
 
uint32_t bulk_current_ed
 
uint32_t done_head
 
uint32_t frame_interval
 
uint32_t frame_remaining
 
uint32_t frame_number
 
uint32_t periodic_start
 
uint32_t lowspeed_threshold
 
union {
   uint32_t   rh_descriptorA
 
   struct {
      uint32_t   number_downstream_ports: 8
 
      uint32_t   power_switching_mode: 1
 
      uint32_t   no_power_switching: 1
 
      uint32_t   device_type: 1
 
      uint32_t   overcurrent_protection_mode: 1
 
      uint32_t   no_over_current_protection: 1
 
      uint32_t   reserved: 11
 
      uint32_t   power_on_to_good_time: 8
 
   }   rh_descriptorA_bit
 
}; 
 
union {
   uint32_t   rh_descriptorB
 
   struct {
      uint32_t   device_removable: 16
 
      uint32_t   port_power_control_mask: 16
 
   }   rh_descriptorB_bit
 
}; 
 
union {
   uint32_t   rh_status
 
   struct {
      uint32_t   local_power_status: 1
 
      uint32_t   over_current_indicator: 1
 
      uint32_t   __pad0__: 13
 
      uint32_t   device_remote_wakeup_enable: 1
 
      uint32_t   local_power_status_change: 1
 
      uint32_t   over_current_indicator_change: 1
 
      uint32_t   __pad1__: 13
 
      uint32_t   clear_remote_wakeup_enable: 1
 
   }   rh_status_bit
 
}; 
 
union {
   uint32_t   rhport_status [TUP_OHCI_RHPORTS]
 
   struct {
      uint32_t   current_connect_status: 1
 
      uint32_t   port_enable_status: 1
 
      uint32_t   port_suspend_status: 1
 
      uint32_t   port_over_current_indicator: 1
 
      uint32_t   port_reset_status: 1
 
      uint32_t   __pad0__: 3
 
      uint32_t   port_power_status: 1
 
      uint32_t   low_speed_device_attached: 1
 
      uint32_t   __pad1__: 6
 
      uint32_t   connect_status_change: 1
 
      uint32_t   port_enable_status_change: 1
 
      uint32_t   port_suspend_status_change: 1
 
      uint32_t   port_over_current_indicator_change: 1
 
      uint32_t   port_reset_status_change: 1
 
      uint32_t   TU_RESERVED: 11
 
   }   rhport_status_bit [TUP_OHCI_RHPORTS]
 
}; 
 

Detailed Description

Definition at line 193 of file ohci.h.

Member Data Documentation

◆ 

union { ... } ohci_registers_t::@400

◆ 

union { ... } ohci_registers_t::@402

◆ 

union { ... } ohci_registers_t::@404

◆ 

union { ... } ohci_registers_t::@406

◆ 

union { ... } ohci_registers_t::@408

◆ 

union { ... } ohci_registers_t::@410

◆ __pad0__

uint32_t ohci_registers_t::__pad0__

Definition at line 220 of file ohci.h.

◆ __pad1__

uint32_t ohci_registers_t::__pad1__

Definition at line 274 of file ohci.h.

◆ bulk_current_ed

uint32_t ohci_registers_t::bulk_current_ed

Definition at line 234 of file ohci.h.

◆ bulk_head_ed

uint32_t ohci_registers_t::bulk_head_ed

Definition at line 233 of file ohci.h.

◆ bulk_list_enable

uint32_t ohci_registers_t::bulk_list_enable

Definition at line 204 of file ohci.h.

◆ bulk_list_filled

uint32_t ohci_registers_t::bulk_list_filled

Definition at line 218 of file ohci.h.

◆ clear_remote_wakeup_enable

uint32_t ohci_registers_t::clear_remote_wakeup_enable

Definition at line 275 of file ohci.h.

◆ command_status

uint32_t ohci_registers_t::command_status

Definition at line 214 of file ohci.h.

◆ 

struct { ... } ohci_registers_t::command_status_bit

◆ connect_status_change

uint32_t ohci_registers_t::connect_status_change

Definition at line 291 of file ohci.h.

◆ control

uint32_t ohci_registers_t::control

Definition at line 198 of file ohci.h.

◆ 

struct { ... } ohci_registers_t::control_bit

◆ control_bulk_service_ratio

uint32_t ohci_registers_t::control_bulk_service_ratio

Definition at line 200 of file ohci.h.

◆ control_current_ed

uint32_t ohci_registers_t::control_current_ed

Definition at line 232 of file ohci.h.

◆ control_head_ed

uint32_t ohci_registers_t::control_head_ed

Definition at line 231 of file ohci.h.

◆ control_list_enable

uint32_t ohci_registers_t::control_list_enable

Definition at line 203 of file ohci.h.

◆ control_list_filled

uint32_t ohci_registers_t::control_list_filled

Definition at line 217 of file ohci.h.

◆ controller_reset

uint32_t ohci_registers_t::controller_reset

Definition at line 216 of file ohci.h.

◆ current_connect_status

uint32_t ohci_registers_t::current_connect_status

Definition at line 282 of file ohci.h.

◆ device_remote_wakeup_enable

uint32_t ohci_registers_t::device_remote_wakeup_enable

Definition at line 271 of file ohci.h.

◆ device_removable

uint32_t ohci_registers_t::device_removable

Definition at line 260 of file ohci.h.

◆ device_type

uint32_t ohci_registers_t::device_type

Definition at line 249 of file ohci.h.

◆ done_head

uint32_t ohci_registers_t::done_head

Definition at line 235 of file ohci.h.

◆ frame_interval

uint32_t ohci_registers_t::frame_interval

Definition at line 237 of file ohci.h.

◆ frame_number

uint32_t ohci_registers_t::frame_number

Definition at line 239 of file ohci.h.

◆ frame_remaining

uint32_t ohci_registers_t::frame_remaining

Definition at line 238 of file ohci.h.

◆ hc_functional_state

uint32_t ohci_registers_t::hc_functional_state

Definition at line 205 of file ohci.h.

◆ hcca

uint32_t ohci_registers_t::hcca

Definition at line 229 of file ohci.h.

◆ interrupt_disable

uint32_t ohci_registers_t::interrupt_disable

Definition at line 227 of file ohci.h.

◆ interrupt_enable

uint32_t ohci_registers_t::interrupt_enable

Definition at line 226 of file ohci.h.

◆ interrupt_routing

uint32_t ohci_registers_t::interrupt_routing

Definition at line 206 of file ohci.h.

◆ interrupt_status

uint32_t ohci_registers_t::interrupt_status

Definition at line 225 of file ohci.h.

◆ isochronous_enable

uint32_t ohci_registers_t::isochronous_enable

Definition at line 202 of file ohci.h.

◆ local_power_status

uint32_t ohci_registers_t::local_power_status

Definition at line 268 of file ohci.h.

◆ local_power_status_change

uint32_t ohci_registers_t::local_power_status_change

Definition at line 272 of file ohci.h.

◆ low_speed_device_attached

uint32_t ohci_registers_t::low_speed_device_attached

Definition at line 289 of file ohci.h.

◆ lowspeed_threshold

uint32_t ohci_registers_t::lowspeed_threshold

Definition at line 241 of file ohci.h.

◆ no_over_current_protection

uint32_t ohci_registers_t::no_over_current_protection

Definition at line 251 of file ohci.h.

◆ no_power_switching

uint32_t ohci_registers_t::no_power_switching

Definition at line 248 of file ohci.h.

◆ number_downstream_ports

uint32_t ohci_registers_t::number_downstream_ports

Definition at line 246 of file ohci.h.

◆ over_current_indicator

uint32_t ohci_registers_t::over_current_indicator

Definition at line 269 of file ohci.h.

◆ over_current_indicator_change

uint32_t ohci_registers_t::over_current_indicator_change

Definition at line 273 of file ohci.h.

◆ overcurrent_protection_mode

uint32_t ohci_registers_t::overcurrent_protection_mode

Definition at line 250 of file ohci.h.

◆ ownership_change_request

uint32_t ohci_registers_t::ownership_change_request

Definition at line 219 of file ohci.h.

◆ period_current_ed

uint32_t ohci_registers_t::period_current_ed

Definition at line 230 of file ohci.h.

◆ periodic_list_enable

uint32_t ohci_registers_t::periodic_list_enable

Definition at line 201 of file ohci.h.

◆ periodic_start

uint32_t ohci_registers_t::periodic_start

Definition at line 240 of file ohci.h.

◆ port_enable_status

uint32_t ohci_registers_t::port_enable_status

Definition at line 283 of file ohci.h.

◆ port_enable_status_change

uint32_t ohci_registers_t::port_enable_status_change

Definition at line 292 of file ohci.h.

◆ port_over_current_indicator

uint32_t ohci_registers_t::port_over_current_indicator

Definition at line 285 of file ohci.h.

◆ port_over_current_indicator_change

uint32_t ohci_registers_t::port_over_current_indicator_change

Definition at line 294 of file ohci.h.

◆ port_power_control_mask

uint32_t ohci_registers_t::port_power_control_mask

Definition at line 261 of file ohci.h.

◆ port_power_status

uint32_t ohci_registers_t::port_power_status

Definition at line 288 of file ohci.h.

◆ port_reset_status

uint32_t ohci_registers_t::port_reset_status

Definition at line 286 of file ohci.h.

◆ port_reset_status_change

uint32_t ohci_registers_t::port_reset_status_change

Definition at line 295 of file ohci.h.

◆ port_suspend_status

uint32_t ohci_registers_t::port_suspend_status

Definition at line 284 of file ohci.h.

◆ port_suspend_status_change

uint32_t ohci_registers_t::port_suspend_status_change

Definition at line 293 of file ohci.h.

◆ power_on_to_good_time

uint32_t ohci_registers_t::power_on_to_good_time

Definition at line 253 of file ohci.h.

◆ power_switching_mode

uint32_t ohci_registers_t::power_switching_mode

Definition at line 247 of file ohci.h.

◆ remote_wakeup_connected

uint32_t ohci_registers_t::remote_wakeup_connected

Definition at line 207 of file ohci.h.

◆ remote_wakeup_enale

uint32_t ohci_registers_t::remote_wakeup_enale

Definition at line 208 of file ohci.h.

◆ reserved

uint32_t ohci_registers_t::reserved

Definition at line 252 of file ohci.h.

◆ revision

uint32_t ohci_registers_t::revision

Definition at line 195 of file ohci.h.

◆ rh_descriptorA

uint32_t ohci_registers_t::rh_descriptorA

Definition at line 244 of file ohci.h.

◆ 

struct { ... } ohci_registers_t::rh_descriptorA_bit

◆ rh_descriptorB

uint32_t ohci_registers_t::rh_descriptorB

Definition at line 258 of file ohci.h.

◆ 

struct { ... } ohci_registers_t::rh_descriptorB_bit

◆ rh_status

uint32_t ohci_registers_t::rh_status

Definition at line 266 of file ohci.h.

◆ 

struct { ... } ohci_registers_t::rh_status_bit

◆ rhport_status

uint32_t ohci_registers_t::rhport_status[TUP_OHCI_RHPORTS]

Definition at line 280 of file ohci.h.

◆ 

struct { ... } ohci_registers_t::rhport_status_bit[TUP_OHCI_RHPORTS]

◆ scheduling_overrun_count

uint32_t ohci_registers_t::scheduling_overrun_count

Definition at line 221 of file ohci.h.

◆ TU_RESERVED

uint32_t ohci_registers_t::TU_RESERVED

Definition at line 209 of file ohci.h.


The documentation for this struct was generated from the following file: