Macros
led.h File Reference

SAME70-XPLD LEDs support package. More...

#include "compiler.h"
#include "ioport.h"
Include dependency graph for led.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LED_Off(led)   ioport_set_pin_level(led##_GPIO, led##_INACTIVE_LEVEL)
 Turns off the specified LEDs. More...
 
#define LED_On(led)   ioport_set_pin_level(led##_GPIO, led##_ACTIVE_LEVEL)
 Turns on the specified LEDs. More...
 
#define LED_Toggle(led)   ioport_toggle_pin_level(led##_GPIO)
 Toggles the specified LEDs. More...
 

Detailed Description

SAME70-XPLD LEDs support package.

Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.

Definition in file led.h.

Macro Definition Documentation

◆ LED_Off

#define LED_Off (   led)    ioport_set_pin_level(led##_GPIO, led##_INACTIVE_LEVEL)

Turns off the specified LEDs.

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

Definition at line 50 of file led.h.

◆ LED_On

#define LED_On (   led)    ioport_set_pin_level(led##_GPIO, led##_ACTIVE_LEVEL)

Turns on the specified LEDs.

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

Definition at line 59 of file led.h.

◆ LED_Toggle

#define LED_Toggle (   led)    ioport_toggle_pin_level(led##_GPIO)

Toggles the specified LEDs.

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

Definition at line 68 of file led.h.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:59