bsp_dk_3201.c File Reference

Board support package API implementation for BRD3201. More...

#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 <stdint.h>
#include "bsp.h"
Include dependency graph for bsp_dk_3201.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int BSP_Disable (void)
 Deinitialize board support package functionality.
int BSP_Init (uint32_t flags)
 Initialize board support package functionality.
BSP_BusControl_TypeDef BSP_BusControlModeGet (void)
 Get current board controller bus decode logic configuration.
int BSP_BusControlModeSet (BSP_BusControl_TypeDef mode)
 Configure Board Controller bus decode logic.
uint32_t BSP_DipSwitchGet (void)
 Get status of the DIP switches on the DK.
int BSP_DisplayControl (BSP_Display_TypeDef option)
 Configure display control.
int BSP_EbiExtendedAddressRange (bool enable)
 Extended the EBI addressing range by enabling address lines A16-A22.
int BSP_EnergyModeSet (uint16_t energyMode)
 Inform board controller about current energy mode.
int BSP_InterruptDisable (uint16_t flags)
 Disable interrupts from board controller.
int BSP_InterruptEnable (uint16_t flags)
 Enable interrupts from board controller.
int BSP_InterruptFlagsClear (uint16_t flags)
 Clear board controller interrupt flags.
int BSP_InterruptFlagsSet (uint16_t flags)
 Set board controller interrupt flags.
uint16_t BSP_InterruptFlagsGet (void)
 Get board controller interrupt flags.
uint16_t BSP_JoystickGet (void)
 Get status of joystick on the DK.
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.
uint16_t BSP_PushButtonsGet (void)
 Get status of the pushbutton switches on the DK.
uint16_t BSP_RegisterRead (volatile uint16_t *addr)
 Read from a board controller register.
int BSP_RegisterWrite (volatile uint16_t *addr, uint16_t data)
 Write to a board controller register.

Detailed Description

Board support package API implementation for BRD3201.

Version:
3.20.5

License

(C) Copyright 2014 Silicon Labs, http://www.silabs.com

This file is licensensed 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.