Board Support Package (BSP) Library Interface for Harmony v2

Functions

Function NameDescription
BSP_InitializePerforms the necessary actions to initialize a board
BSP_LEDOffSwitches OFF the specified LED
BSP_LEDOnSwitches ON the specified LED
BSP_LEDStateGetReturns the LED to its previous state
BSP_LEDStateSetControls the state of the LED
BSP_LEDToggleToggles the state of the LED between BSP_LED_STATE_ON and BSP_LED_STATE_OFF
BSP_SwitchStateGetReturns the present state (pressed or not pressed) of the specified switch

Enumerations

NameDescription
BSP_LEDDefines the LEDs available on the board
BSP_LED_STATEEnumerates the supported LED states
BSP_SWITCHDefines the switches available on the board
BSP_SWITCH_STATEDefines possible states of the switches on the board

Macros

NameDescription
BSP_OSC_FREQUENCYDefines the frequency value of crystal/oscillator used on the board