/dev/bsp/SMC

From WiiUBrew
< /dev‎ | bsp
Jump to navigation Jump to search

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