39 #ifdef BSP_MCUBOARD_USB
55 #ifdef BSP_MCUBOARD_USB
80 #ifdef BSP_MCUBOARD_USB
104 #ifdef BSP_MCUBOARD_USB
107 if ( !
GPIO_PinInGet( BSP_USB_OCFLAG_PORT, BSP_USB_OCFLAG_PIN ) )
131 #ifdef BSP_MCUBOARD_USB
Clock management unit (CMU) API.
int BSP_McuBoard_Init(void)
Enable MCU plugin board peripherals.
Board support package API definitions.
int BSP_McuBoard_UsbVbusPowerEnable(bool enable)
Enable MCU plugin board VBUS power switch.
bool BSP_McuBoard_UsbVbusOcFlagGet(void)
Get state MCU plugin board VBUS overcurrent flag.
void GPIO_PinModeSet(GPIO_Port_TypeDef port, unsigned int pin, GPIO_Mode_TypeDef mode, unsigned int out)
Set the mode for a GPIO pin.
#define BSP_STATUS_NOT_IMPLEMENTED
General Purpose IO (GPIO) peripheral API.
int BSP_McuBoard_DeInit(void)
Disable MCU plugin board peripherals.
__STATIC_INLINE void GPIO_PinOutSet(GPIO_Port_TypeDef port, unsigned int pin)
Set a single pin in GPIO data out register to 1.
void CMU_ClockEnable(CMU_Clock_TypeDef clock, bool enable)
Enable/disable a clock.
__STATIC_INLINE void GPIO_PinOutClear(GPIO_Port_TypeDef port, unsigned int pin)
Set a single pin in GPIO data out port register to 0.
__STATIC_INLINE unsigned int GPIO_PinInGet(GPIO_Port_TypeDef port, unsigned int pin)
Read the pad value for a single pin in a GPIO port.
int BSP_McuBoard_UsbStatusLedEnable(bool enable)
Set state of MCU plugin board USB status LED.