led.h
Go to the documentation of this file.
1 
33 /*
34  * Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a>
35  */
36 
37 #ifndef LED_H_INCLUDED
38 #define LED_H_INCLUDED
39 
40 #include "compiler.h"
41 #include "ioport.h"
42 
50 #define LED_Off(led) ioport_set_pin_level(led##_GPIO, led##_INACTIVE_LEVEL)
51 
59 #define LED_On(led) ioport_set_pin_level(led##_GPIO, led##_ACTIVE_LEVEL)
60 
68 #define LED_Toggle(led) ioport_toggle_pin_level(led##_GPIO)
69 
70 
71 #endif // LED_H_INCLUDED
Common IOPORT service main header file for AVR, UC3 and ARM architectures.
Commonly used includes, types and macros.


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:04