|
Open Garden
0.10.1-21
|
usb connection cheching functions More...

Functions | |
| ISR (INT0_vect) | |
| uint8_t | usb_is_connected (void) |
| void | usb_init (void) |
| void | usb_shutdown (void) |
usb connection cheching functions
| ISR | ( | INT0_vect | ) |
IRQ wakes up when PC/usb connect or disconnect.
| void usb_init | ( | void | ) |
enable irq int0
| uint8_t usb_is_connected | ( | void | ) |
check if usb port is connected.
| void usb_shutdown | ( | void | ) |
disable INT0 irq
1.8.13