1,757 bytes added
, 11:01, 28 December 2019
== Attributes ==
=== BaseAddress ===
'''Availability''': This attribute is always available.
'''Permissions''': <code>BSP_PERMISSIONS_IOS</code> only.
{| class="wikitable"
|-
! Method
! Data Size
! Values
!
|-
| Query
| 4
| constant
| Returns 0xD006400.
|}
=== IOStrength ===
'''Availability''': This attribute is always available. (<code>BSP_AO_INIT_GLOBAL</code>)
'''Permissions''': <code>BSP_PERMISSIONS_IOS</code> only.
{| class="wikitable"
|-
! Method
! Data Size
! Values
!
|-
| Init
| 0
|
| Clears bits 8, 7 and 6 in [[Hardware/Latte Registers#HW_IOSTRCTRL0|HW_IOSTRCTRL0]]; before setting bit 6 (on Hollywood and Bollywood hardware), or bit 7 (on Latte hardware).
|}
=== IOPower ===
'''Availability''': This attribute is always available. (<code>BSP_AO_INIT_GLOBAL</code>)
'''Permissions''': <code>BSP_PERMISSIONS_IOS</code> only.
{| class="wikitable"
|-
! Method
! Data Size
! Values
!
|-
| Read
| 1
| 0 or 1
| Returns 1 if bits 18 and 19 are both set in [[Hardware/Latte Registers#HW_IOPWRCTRL|HW_IOPWRCTRL]], 0 otherwise.
|-
| Write
| 1
| 0 or 1
| Sets bits 18 and 19 in [[Hardware/Latte Registers#HW_IOPWRCTRL|HW_IOPWRCTRL]] if the input data is 1, otherwise clears them.
|-
| Query
| 1
| constant
| Required IOPower state for this hardware. Hard-coded to 1 on a retail IOSU, possibly 0 on other builds.
|-
| Init
| 0
|
| Calls the write method with 1 if the query value is 1, or 0 if the query value is 0.
|}
=== Subsystem ===
'''Availability''': This attribute is always available. (<code>BSP_AO_INIT_GLOBAL</code>)
'''Permissions''': <code>BSP_PERMISSIONS_IOS</code> only.
{| class="wikitable"
|-
! Method
! Data Size
! Values
!
|-
| Init
| 0
|
| Calculates and sets a value in [[Hardware/Latte Registers#HW_SICLKDIV|HW_SICLKDIV]].
|}