libpynq  (release 5EID0-2023 version 0.3.0 of 2024-04-25 09:42 )
leds.c
Go to the documentation of this file.
1 #include <leds.h>
2 void leds_init_onoff(void){};
3 void green_leds_init_pwm(void){};
4 void color_leds_init_pwm(void){};
5 void leds_destroy(void){};
6 void green_led_onoff(const int led, const int onoff){};
7 void green_led_on(const int led){};
8 void green_led_off(const int led){};
9 void color_led_red_onoff(const int onoff){};
10 void color_led_green_onoff(const int onoff){};
11 void color_led_blue_onoff(const int onoff){};
12 void color_led_onoff(const int red_onoff, const int green_onoff,
13  const int blue_onoff){};
14 void color_led_on(void){};
15 void color_led_off(void){};
color_leds_init_pwm
void color_leds_init_pwm(void)
Initialize the color LEDs for use with variable intensity. The LED intensity can range from 0....
Definition: leds.c:4
leds.h
green_led_off
void green_led_off(const int led)
Same as green_led_onoff(led, LED_OFF). Works in all modes.
Definition: leds.c:8
leds_destroy
void leds_destroy(void)
Definition: leds.c:5
color_led_blue_onoff
void color_led_blue_onoff(const int onoff)
Switches on/off the blue component of color LED 0.
Definition: leds.c:11
color_led_on
void color_led_on(void)
Set color LED 0 to white. Same as color_led_onoff(LED_ON, LED_ON, LED_ON).
Definition: leds.c:14
color_led_onoff
void color_led_onoff(const int red_onoff, const int green_onoff, const int blue_onoff)
Switches on/off the red/green/blue components of color LED 0.
Definition: leds.c:12
color_led_green_onoff
void color_led_green_onoff(const int onoff)
Switches on/off the green component of color LED 0.
Definition: leds.c:10
green_leds_init_pwm
void green_leds_init_pwm(void)
Initialize the green LEDs for use with variable intensity. The LED intensity can range from 0....
Definition: leds.c:3
green_led_onoff
void green_led_onoff(const int led, const int onoff)
Definition: leds.c:6
color_led_off
void color_led_off(void)
Set color LED 0 to black. Same as color_led_onoff(LED_OFF, LED_OFF, LED_OFF).
Definition: leds.c:15
green_led_on
void green_led_on(const int led)
Same as green_led_onoff(led, LED_ON). Works in all modes.
Definition: leds.c:7
color_led_red_onoff
void color_led_red_onoff(const int onoff)
Switches on/off the red component of color LED 0.
Definition: leds.c:9
leds_init_onoff
void leds_init_onoff(void)
Initialize the green LEDs for on/off use.
Definition: leds.c:2