evk_usb.h
This module controls USB features of the SPARK EVK board.
- Copyright
Copyright (C) 2026 SPARK Microsystems International Inc. All rights reserved.
- License
This source code is proprietary and subject to the SPARK Microsystems Software EULA found in this package in file EULA.txt.
- Author
SPARK FW Team.
Defines
-
EVK_USB_PRODUCT_STRING "EVK1.4"
Functions
-
void evk_usb_init(void)
USB initialization.
-
void evk_usb_clock_init(void)
Initialize the peripheral USB clock.
-
void evk_usb_enter_critical(void)
Disable USB interrupt.
-
void evk_usb_exit_critical(void)
Enable USB interrupt.
-
bool evk_is_usb_detected(void)
Check if a powered USB cable is connected to the board.
- Return values:
True – USB is connected.
False – USB is not connected.