EFR32 Mighty Gecko 13 Software Documentation
efr32mg13-doc-5.1.2
|
Board support package API implementation for BRD3201.
Copyright 2016 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_3201.c.
#include "em_device.h"
#include "em_cmu.h"
#include "em_ebi.h"
#include "em_gpio.h"
#include "em_usart.h"
#include "bsp_dk_bcreg_3201.h"
#include "bsp.h"
Go to the source code of this file.
Functions | |
BSP_BusControl_TypeDef | BSP_BusControlModeGet (void) |
Get current board controller bus decode logic configuration. More... | |
int | BSP_BusControlModeSet (BSP_BusControl_TypeDef mode) |
Configure Board Controller bus decode logic. More... | |
uint32_t | BSP_DipSwitchGet (void) |
Get status of the DIP switches on the DK. More... | |
int | BSP_Disable (void) |
Deinitialize board support package functionality. Reverse actions performed by BSP_Init(). This function is a dummy on STK's. More... | |
int | BSP_DisplayControl (BSP_Display_TypeDef option) |
Configure display control. More... | |
int | BSP_EbiExtendedAddressRange (bool enable) |
Extended the EBI addressing range by enabling address lines A16-A22. On Gxxx_DK's this functions is a dummy. More... | |
int | BSP_EnergyModeSet (uint16_t energyMode) |
Inform board controller about current energy mode. More... | |
int | BSP_Init (uint32_t flags) |
Initialize board support package functionality. More... | |
int | BSP_InterruptDisable (uint16_t flags) |
Disable interrupts from board controller. More... | |
int | BSP_InterruptEnable (uint16_t flags) |
Enable interrupts from board controller. More... | |
int | BSP_InterruptFlagsClear (uint16_t flags) |
Clear board controller interrupt flags. More... | |
uint16_t | BSP_InterruptFlagsGet (void) |
Get board controller interrupt flags. More... | |
int | BSP_InterruptFlagsSet (uint16_t flags) |
Set board controller interrupt flags. More... | |
uint16_t | BSP_JoystickGet (void) |
Get status of joystick on the DK. More... | |
int | BSP_PeripheralAccess (BSP_Peripheral_TypeDef perf, bool enable) |
DK Peripheral Access Control Enable or disable access to on-board peripherals through switches and SPI switch where applicable. Turn off conflicting peripherals when enabling another. More... | |
uint16_t | BSP_PushButtonsGet (void) |
Get status of the pushbutton switches on the DK. More... | |
uint16_t | BSP_RegisterRead (volatile uint16_t *addr) |
Read from a board controller register. More... | |
int | BSP_RegisterWrite (volatile uint16_t *addr, uint16_t data) |
Write to a board controller register. More... | |