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"
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. | |
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. |
Board support package API implementation for BRD3201.
(C) Copyright 2012 Energy Micro AS, http://www.energymicro.com
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. 4. The source and compiled code may only be used on Energy Micro "EFM32" microcontrollers and "EFR4" radios.
DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Energy Micro AS has no obligation to support this Software. Energy Micro AS is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.
Energy Micro AS will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.
Definition in file bsp_dk_3201.c.