text: 
  /*  ev3_led.h was generated by yup.py (yupp) 1.0c6
      out of ev3_led.yu-h 
   *//**
   *  \file  ev3_led.h (ev3_led.yu-h)
   *  \brief  EV3 LEDs.
   *  \author  Vitaly Kravtsov (in4lio@gmail.com)
   *  \copyright  See the LICENSE file.
   */
  
  #pragma once
  
  /**
   *  \brief Identifiers of LEDs.
   */
  #define EV3_LEFT_GREEN 0
  #define EV3_RIGHT_GREEN 1
  #define EV3_LEFT_RED 2
  #define EV3_RIGHT_RED 3
  #define LED_OUTA 4
  #define LED_OUTB 5
  #define LED_OUTC 6
  #define LED_OUTD 7
  
  #define LED__COUNT_ 8  /**< Count of EV3 LEDs. */
  
  /**
   *  \brief Triggers identifiers of LEDs.
   */
  #define TRIGGER_NONE 0
  #define TRIGGER_MMC0 1
  #define TRIGGER_TIMER 2
  #define TRIGGER_HEARTBEAT 3
  #define TRIGGER_DEFAULT_ON 4
  #define TRIGGER_TRANSIENT 5
  #define TRIGGER_LEGOEV3_BATTERY_CHARGING_OR_FULL 6
  #define TRIGGER_LEGOEV3_BATTERY_CHARGING 7
  #define TRIGGER_LEGOEV3_BATTERY_FULL 8
  #define TRIGGER_LEGOEV3_BATTERY_CHARGING_BLINK_FULL_SOLID 9
  #define TRIGGER_RFKILL0 10
  #define TRIGGER_PHY0RX 11
  #define TRIGGER_PHY0TX 12
  #define TRIGGER_PHY0ASSOC 13
  #define TRIGGER_PHY0RADIO 14
  #define TRIGGER_RFKILL1 15
  
  #define TRIGGER__COUNT_ 16  /**< Count of EV3 triggers. */
  
  #define LED_ATTR__COUNT_ 5
  
  /**
   *  \fn size_t get_led_brightness( uint8_t inx, byte *buf )
   *  \brief Read "brightness" attribute of the LED.
   *  \param inx Index of the LED.
   *  \param[out] buf Buffer for result.
  		 
   *  \return Count of read bytes.
   */
  .extern get_led_brightness
  
  /**
   *  \fn size_t set_led_brightness( uint8_t inx, byte value )
   *  \brief Write "brightness" attribute of the LED.
   *  \param inx Index of the LED.
   *  \param value Attribute value.
   *  \return Count of written bytes.
   */
  .extern set_led_brightness
  
  /**
   *  \fn size_t get_led_delay_off( uint8_t inx, int *buf )
   *  \brief Read "delay_off" attribute of the LED.
   *  \param inx Index of the LED.
   *  \param[out] buf Buffer for result.
  		 
   *  \return Count of read bytes.
   */
  .extern get_led_delay_off
  
  /**
   *  \fn size_t set_led_delay_off( uint8_t inx, int value )
   *  \brief Write "delay_off" attribute of the LED.
   *  \param inx Index of the LED.
   *  \param value Attribute value.
   *  \return Count of written bytes.
   */
  .extern set_led_delay_off
  
  /**
   *  \fn size_t get_led_delay_on( uint8_t inx, int *buf )
   *  \brief Read "delay_on" attribute of the LED.
   *  \param inx Index of the LED.
   *  \param[out] buf Buffer for result.
  		 
   *  \return Count of read bytes.
   */
  .extern get_led_delay_on
  
  /**
   *  \fn size_t set_led_delay_on( uint8_t inx, int value )
   *  \brief Write "delay_on" attribute of the LED.
   *  \param inx Index of the LED.
   *  \param value Attribute value.
   *  \return Count of written bytes.
   */
  .extern set_led_delay_on
  
  /**
   *  \fn size_t get_led_max_brightness( uint8_t inx, byte *buf )
   *  \brief Read "max_brightness" attribute of the LED.
   *  \param inx Index of the LED.
   *  \param[out] buf Buffer for result.
  		 
   *  \return Count of read bytes.
   */
  .extern get_led_max_brightness
  
  /**
   *  \fn size_t get_led_trigger( uint8_t inx, char *buf, size_t sz )
   *  \brief Read "trigger" attribute of the LED.
   *  \param inx Index of the LED.
   *  \param[out] buf Buffer for result.
   *  \param sz Buffer size.
   *  \return Count of read bytes.
   */
  .extern get_led_trigger
  
  /**
   *  \fn size_t set_led_trigger( uint8_t inx, char *value )
   *  \brief Write "trigger" attribute of the LED.
   *  \param inx Index of the LED.
   *  \param value Attribute value.
   *  \return Count of written bytes.
   */
  .extern set_led_trigger
  
  /**
   *  \fn INX_T get_led_trigger_inx( uint8_t inx )
   *  \brief Read "trigger" attribute of the LED and get the index.
   *  \param inx Index of the LED.
   *  \return Index of trigger or TRIGGER__COUNT_ - error has occurred.
   */
  .extern get_led_trigger_inx
  
  /**
   *  \fn size_t set_led_trigger_inx( uint8_t inx, INX_T trigger_inx )
   *  \brief Write "trigger" attribute of the LED by the index.
   *  \param inx Index of the LED.
   *  \param trigger_inx Index of the trigger.
   *  \return Count of written bytes.
   */
  .extern set_led_trigger_inx
  
  /**
   *  \fn const char *ev3_led_trigger( INX_T trigger_inx )
   *  \brief Get name of the specified LED trigger.
   *  \param trigger_inx Index of the trigger.
   *  \return Requested value.
   */
  .extern ev3_led_trigger
  