EFR32 Mighty Gecko 1 Software Documentation
efr32mg1-doc-5.1.2
|
Board Control register definitions.
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_bcreg_3200.h.
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | BC_ADC_DATA ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x12)) |
#define | BC_ADC_START ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x10)) |
#define | BC_ADC_START_MASK (0x00ff) |
#define | BC_ADC_STATUS ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x11)) |
#define | BC_ADC_STATUS_BUSY (1) |
#define | BC_ADC_STATUS_DONE (0) |
#define | BC_AEM ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x07)) |
#define | BC_AEMSTATE ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x0d)) |
#define | BC_AEMSTATE_BC (0) |
#define | BC_AEMSTATE_EFM (1) |
#define | BC_BUS_CFG ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x0a)) |
#define | BC_BUS_CFG_EBI (1) |
#define | BC_BUS_CFG_FSMC (0) |
#define | BC_BUS_CFG_MASK (0x0003) |
#define | BC_BUS_CFG_SPI (2) |
#define | BC_CFG ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x00)) |
#define | BC_CFG_EBI (1) |
#define | BC_CFG_SPI (0) |
#define | BC_DIPSWITCH ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x05)) |
#define | BC_DIPSWITCH_MASK (0x00ff) |
#define | BC_DISPCTRL_POWER_ENABLE (1 << 1) |
#define | BC_DISPCTRL_RESET (1 << 0) |
#define | BC_DISPLAY_CTRL ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x08)) |
#define | BC_EBI_CFG ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x09)) |
#define | BC_EBI_CFG_16X16 (0) |
#define | BC_EBI_CFG_24X8 (2) |
#define | BC_EBI_CFG_8X8 (1) |
#define | BC_EBI_CFG_MASK (0x0003) |
#define | BC_EM ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x01)) |
#define | BC_EM_EM0 (0) |
#define | BC_EM_EM1 (1) |
#define | BC_EM_EM2 (2) |
#define | BC_EM_EM3 (3) |
#define | BC_EM_EM4 (4) |
#define | BC_FLASH_BASE 0x80000000 |
#define | BC_FW_BUILDNO ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x15)) |
#define | BC_FW_VERSION ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x16)) |
#define | BC_HW_FW_VERSION_MAJOR_MASK (0xf000) |
#define | BC_HW_FW_VERSION_MAJOR_SHIFT (12) |
#define | BC_HW_FW_VERSION_MINOR_MASK (0x0f00) |
#define | BC_HW_FW_VERSION_MINOR_SHIFT (8) |
#define | BC_HW_FW_VERSION_PATCHLEVEL_MASK (0x00ff) |
#define | BC_HW_FW_VERSION_PATCHLEVEL_SHIFT (0) |
#define | BC_HW_VERSION ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x14)) |
#define | BC_HW_VERSION_BOARD_MASK (0x000f) |
#define | BC_HW_VERSION_BOARD_SHIFT (0) |
#define | BC_HW_VERSION_PCB_MASK (0x07f0) |
#define | BC_HW_VERSION_PCB_SHIFT (4) |
#define | BC_INTEN ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x21)) |
#define | BC_INTEN_AEM (1 << 3) |
#define | BC_INTEN_DIP (1 << 1) |
#define | BC_INTEN_JOYSTICK (1 << 2) |
#define | BC_INTEN_MASK (0x000f) |
#define | BC_INTEN_PB (1 << 0) |
#define | BC_INTFLAG ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x20)) |
#define | BC_INTFLAG_AEM (1 << 3) |
#define | BC_INTFLAG_DIP (1 << 1) |
#define | BC_INTFLAG_JOYSTICK (1 << 2) |
#define | BC_INTFLAG_MASK (0x000f) |
#define | BC_INTFLAG_PB (1 << 0) |
#define | BC_JOYSTICK ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x06)) |
#define | BC_JOYSTICK_CENTER (1 << 4) |
#define | BC_JOYSTICK_DOWN (1 << 0) |
#define | BC_JOYSTICK_LEFT (1 << 3) |
#define | BC_JOYSTICK_MASK (0x001f) |
#define | BC_JOYSTICK_RIGHT (1 << 1) |
#define | BC_JOYSTICK_UP (1 << 2) |
#define | BC_LED ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x03)) |
#define | BC_MAGIC ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x02)) |
#define | BC_MAGIC_VALUE (0xef32) |
#define | BC_PERCTRL ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x0c)) |
#define | BC_PERCTRL_ACCEL (1 << 0) |
#define | BC_PERCTRL_ACCEL_GSEL (1 << 12) |
#define | BC_PERCTRL_ACCEL_SELFTEST (1 << 13) |
#define | BC_PERCTRL_AMBIENT (1 << 1) |
#define | BC_PERCTRL_ANALOG_DIFF (1 << 9) |
#define | BC_PERCTRL_ANALOG_SE (1 << 8) |
#define | BC_PERCTRL_AUDIO_IN (1 << 11) |
#define | BC_PERCTRL_AUDIO_OUT (1 << 10) |
#define | BC_PERCTRL_I2C (1 << 6) |
#define | BC_PERCTRL_IRDA (1 << 7) |
#define | BC_PERCTRL_IRDA_SHUTDOWN (1 << 15) |
#define | BC_PERCTRL_POTMETER (1 << 2) |
#define | BC_PERCTRL_RS232_SHUTDOWN (1 << 14) |
#define | BC_PERCTRL_RS232A (1 << 3) |
#define | BC_PERCTRL_RS232B (1 << 4) |
#define | BC_PERCTRL_SPI (1 << 5) |
#define | BC_PUSHBUTTON ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x04)) |
#define | BC_PUSHBUTTON_MASK (0x000f) |
#define | BC_PUSHBUTTON_SW1 (1 << 0) |
#define | BC_PUSHBUTTON_SW2 (1 << 1) |
#define | BC_PUSHBUTTON_SW3 (1 << 2) |
#define | BC_PUSHBUTTON_SW4 (1 << 3) |
#define | BC_REGISTER_BASE 0x8c000000 |
#define | BC_RESET ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x0f)) |
#define | BC_RESET_EFM (1 << 1) |
#define | BC_RESET_FLASH (1 << 0) |
#define | BC_SCRATCH_BC0 ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x1C)) |
#define | BC_SCRATCH_BC1 ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x1D)) |
#define | BC_SCRATCH_BC2 ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x1E)) |
#define | BC_SCRATCH_BC3 ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x1f)) |
#define | BC_SCRATCH_COMMON ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x17)) |
#define | BC_SCRATCH_EFM0 ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x18)) |
#define | BC_SCRATCH_EFM1 ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x19)) |
#define | BC_SCRATCH_EFM2 ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x1A)) |
#define | BC_SCRATCH_EFM3 ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x1B)) |
#define | BC_SPI_CFG ((volatile uint16_t *)(BC_REGISTER_BASE + sizeof(uint16_t) * 0x0e)) |
#define | BC_SPI_CFG_FLASH (0) |
#define | BC_SPI_CFG_MICROSD (1) |
#define | BC_SRAM_BASE 0x84000000 |
#define | BC_SSD2119_BASE 0x88000000 |