Board Support Package (BSP) Library Interface for Harmony v2

Detailed descriptions for this library can be found in the MPLAB® Harmony documentation.

Functions

Function Name Description
BSP_Initialize Performs the necessary actions to initialize a board
BSP_LEDOff Switches OFF the specified LED
BSP_LEDOn Switches ON the specified LED
BSP_LEDStateGet Returns the LED to its previous state
BSP_LEDStateSet Controls the state of the LED
BSP_LEDToggle Toggles the state of the LED between BSP_LED_STATE_ON and BSP_LED_STATE_OFF
BSP_SwitchStateGet Returns the present state (pressed or not pressed) of the specified switch

Enumerations

Name Description
BSP_LED Defines the LEDs available on the board
BSP_LED_STATE Enumerates the supported LED states
BSP_SWITCH Defines the switches available on the board
BSP_SWITCH_STATE Defines possible states of the switches on the board

Macros

Name Description
BSP_OSC_FREQUENCY Defines the frequency value of crystal/oscillator used on the board