4.4.3.2.8 USB_DescriptorActiveConfigurationSelfPoweredGet()

bool USB_DescriptorActiveConfigurationSelfPoweredGet (void )

Gets the Self-Powered setting from the active configuration.

Parameters:
None.
Return values:
0

- Self-Powered is not enabled

1

- Self-Powered is enabled