SaturnRingLibrary 0.9.2
SGL wrapper
Loading...
Searching...
No Matches

◆ IsConnected()

bool SRL::DevCart::CS0::IsConnected ( )
inlinestatic

Checks if the USB device is connected and ready This function checks the UsbFlags register. It assumes the device is connected if the reserved bits (those not in AllFlags) are all zero. This is a common way to detect hardware presence on embedded systems.

Returns
true If connected, false otherwise