EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
bsp_dk_mcuboard.c File Reference

Detailed Description

Board support package API for functions on MCU plugin boards.

Version
5.1.1

License

Copyright 2015 Silicon Labs, Inc. http://www.silabs.com

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file bsp_dk_mcuboard.c.

#include <stdbool.h>
#include "bsp.h"
#include "em_gpio.h"
#include "em_cmu.h"

Go to the source code of this file.

Functions

int BSP_McuBoard_DeInit (void)
 Disable MCU plugin board peripherals. More...
 
int BSP_McuBoard_Init (void)
 Enable MCU plugin board peripherals. More...
 
int BSP_McuBoard_UsbStatusLedEnable (bool enable)
 Set state of MCU plugin board USB status LED. More...
 
bool BSP_McuBoard_UsbVbusOcFlagGet (void)
 Get state MCU plugin board VBUS overcurrent flag. More...
 
int BSP_McuBoard_UsbVbusPowerEnable (bool enable)
 Enable MCU plugin board VBUS power switch. More...