|
libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
|
#include <evmu_battery.h>
Data Fields | ||
| union { | ||
| EvmuBatteryClass * pClass | ||
| EvmuPeripheral base | ||
| }; | ||
Data Fields inherited from EvmuPeripheral | ||
| union { | ||
| EvmuPeripheralClass * pClass | ||
| GblObject base | ||
| }; | ||
| GblFlags | logLevel | |
Related Symbols | |
(Note that these are not member symbols.) | |
Alarm | |
Methods for getting and setting the alarm state | |
| GblBool | EvmuBattery_lowAlarm (const EvmuBattery *pSelf) |
| void | EvmuBattery_setLowAlarm (EvmuBattery *pSelf, GblBool enabled) |
Monitor | |
Methods for getting and setting the monitor state | |
| GblBool | EvmuBattery_monitorEnabled (const EvmuBattery *pSelf) |
| void | EvmuBattery_setMonitorEnabled (EvmuBattery *pSelf, GblBool enabled) |
Related Symbols inherited from EvmuPeripheral | |
| EvmuDevice * | EvmuPeripheral_device (const EvmuPeripheral *pSelf) |
GblInstance structure for the battery peripheral.
EvmuBattery represents an instantiable EvmuPeripheral encapsulating both the low battery alarm/pin as well as the BIOS logic which monitors it. There are no public members.
Definition at line 66 of file evmu_battery.h.
|
Returns GBL_TRUE if the low voltage battery detection signal is asserted.
|
Returns GBL_TRUE if the system BIOS low battery monitor is enabled.
|
Sets the low battery detection circuit alarm to the enabled value.
|
Enables or disables the system BIOS low battery monitor, based on the enabled value.
| EvmuPeripheral EvmuBattery::base |
Inherited base instance structure.
Definition at line 66 of file evmu_battery.h.
| EvmuBatteryClass* EvmuBattery::pClass |
Pointer to class/vtable structure.
Definition at line 66 of file evmu_battery.h.