MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / control_state

Class control_state

core/control.h:23–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21};
22
23typedef struct control_state {
24 uint8_t ports[0x80];
25 uint8_t cpuSpeed;
26 bool usbSelfPowered;
27 bool usbBusPowered;
28
29 uint8_t setBatteryStatus;
30 uint8_t readBatteryStatus;
31 bool batteryCharging;
32
33 uint32_t privileged;
34 uint32_t stackLimit;
35 uint32_t protectedStart;
36 uint32_t protectedEnd;
37 uint8_t protectionStatus;
38 uint8_t protectedPortsUnlocked;
39 uint8_t flashUnlocked;
40
41 bool off;
42} control_state_t;
43
44extern control_state_t control;
45

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected