Seeed Grove ++  v0.0.1-2019
Linux C++ Library For Seeed Grove Devices
sg_BeagleBone_USB.hpp File Reference
#include <cstddef>
Include dependency graph for sg_BeagleBone_USB.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 SG
 
 SG::BeagleBone
 
 SG::BeagleBone::USB
 Manipulate the USB Type-A port on a BeagleBone.
 

Functions

void SG::BeagleBone::USB::toggle (const bool turn_on, const size_t sleep_time_in_milliseconds)
 Turn ON or turn OFF the power to the USB Type-A port. More...
 
void SG::BeagleBone::USB::toggle (const size_t sleep_time_in_milliseconds=500)
 Turn the power to the USB Type-A port OFF then back ON after a short pause. More...
 
void SG::BeagleBone::USB::set (const bool turn_on)
 Set the power to the USB Type-A port ON or OFF. More...
 
void SG::BeagleBone::USB::turn_on (void)
 Turn ON the power to the USB Type-A port. More...
 
void SG::BeagleBone::USB::turn_off (void)
 Turn OFF the power to the USB Type-A port. More...