Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SAM D21 Xplained Pro board

Modules

 Features
 Symbols that describe features and capabilities of the board.
 

Macros

#define LED_Off(led_gpio)   port_pin_set_output_level(led_gpio,true)
 Turns off the specified LEDs. More...
 
#define LED_On(led_gpio)   port_pin_set_output_level(led_gpio,false)
 Turns on the specified LEDs. More...
 
#define LED_Toggle(led_gpio)   port_pin_toggle_output_level(led_gpio)
 Toggles the specified LEDs. More...
 

Functions

void system_board_init (void)
 

802.15.4 TRX Interface definitions

#define ENABLE_TRX_IRQ()   extint_chan_enable_callback(AT86RFX_IRQ_CHAN, EXTINT_CALLBACK_TYPE_DETECT)
 Enables the transceiver main interrupt. More...
 
#define DISABLE_TRX_IRQ()   extint_chan_disable_callback(AT86RFX_IRQ_CHAN, EXTINT_CALLBACK_TYPE_DETECT)
 Disables the transceiver main interrupt. More...
 
#define CLEAR_TRX_IRQ()   extint_chan_clear_detected(AT86RFX_IRQ_CHAN);
 Clears the transceiver main interrupt. More...
 
#define ENTER_TRX_REGION()   { extint_chan_disable_callback(AT86RFX_IRQ_CHAN, EXTINT_CALLBACK_TYPE_DETECT)
 
#define LEAVE_TRX_REGION()   extint_chan_enable_callback(AT86RFX_IRQ_CHAN, EXTINT_CALLBACK_TYPE_DETECT); }
 

#define CLEAR_TRX_IRQ ( )    extint_chan_clear_detected(AT86RFX_IRQ_CHAN);

Clears the transceiver main interrupt.

Disables the transceiver main interrupt.

Referenced by get_batmon_voltage().

Enables the transceiver main interrupt.

Referenced by get_batmon_voltage(), and rf233_init().

#define LED_Off (   led_gpio)    port_pin_set_output_level(led_gpio,true)

Turns off the specified LEDs.

Parameters
led_gpioLED to turn off (LEDx_GPIO).
Note
The pins of the specified LEDs are set to GPIO output mode.

Referenced by ledctrl_receiver().

#define LED_On (   led_gpio)    port_pin_set_output_level(led_gpio,false)

Turns on the specified LEDs.

Parameters
led_gpioLED to turn on (LEDx_GPIO).
Note
The pins of the specified LEDs are set to GPIO output mode.

Referenced by ledctrl_receiver().

#define LED_Toggle (   led_gpio)    port_pin_toggle_output_level(led_gpio)

Toggles the specified LEDs.

Parameters
led_gpioLED to toggle (LEDx_GPIO).
Note
The pins of the specified LEDs are set to GPIO output mode.

void system_board_init ( void  )

Referenced by system_init().