In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "/dev/bsp/SMC"

From WiiUBrew
< /dev‎ | bsp
Jump to navigation Jump to search
(Created page with "== Attributes == === SystemEventFlag === '''Permissions''': <code>BSP_PERMISSIONS_IOS</code>. {| class="wikitable" ! Method ! Data Size ! Values ! |- | Read | 1 | | Gets the...")
 
(No difference)

Latest revision as of 14:27, 19 August 2022

Attributes

SystemEventFlag

Permissions: BSP_PERMISSIONS_IOS.

Method Data Size Values
Read 1 Gets the system event flags.
Write 1 Sets the system event flags.

Flags

Bit Name
0 WAKE1
1 WAKE0
2 BT_INTERRUPT
3 TIMER_SIGNAL
4 DISC_INSERT
5 EJECT_BUTTON
6 POWER_BUTTON

NotificationLED

Permissions: BSP_PERMISSIONS_IOS.

Method Data Size Values
Read 1 Gets the current LEDs.
Write 1 Sets the current LEDs.

LEDs

Note: To make a LED blink you need to set the color and the blinking bit.

Bit Name
0 Orange (Blinking)
1 Orange
2 Red (Blinking)
3 Red
4 Blue (Blinking)
5 Blue