libpynq (release 5EWC0-2023 version 0.2.1 of 2023-09-01 11:02)
Loading...
Searching...
No Matches
leds.c
Go to the documentation of this file.
1#include <leds.h>
2void leds_init_onoff(void){};
3void green_leds_init_pwm(void){};
4void color_leds_init_pwm(void){};
5void leds_destroy(void){};
6void green_led_onoff(const int led, const int onoff){};
7void green_led_on(const int led){};
8void green_led_off(const int led){};
9void color_led_red_onoff(const int onoff){};
10void color_led_green_onoff(const int onoff){};
11void color_led_blue_onoff(const int onoff){};
12void color_led_onoff(const int red_onoff, const int green_onoff,
13 const int blue_onoff){};
14void color_led_on(void){};
15void color_led_off(void){};
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
void leds_init_onoff(void)
Initialize the green LEDs for on/off use.
Definition leds.c:2
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
void green_led_off(const int led)
Same as green_led_onoff(led, LED_OFF). Works in all modes.
Definition leds.c:8
void color_led_red_onoff(const int onoff)
Switches on/off the red component of color LED 0.
Definition leds.c:9
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
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
void green_led_on(const int led)
Same as green_led_onoff(led, LED_ON). Works in all modes.
Definition leds.c:7
void color_led_blue_onoff(const int onoff)
Switches on/off the blue component of color LED 0.
Definition leds.c:11
void leds_destroy(void)
Definition leds.c:5
void color_led_green_onoff(const int onoff)
Switches on/off the green component of color LED 0.
Definition leds.c:10
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
void green_led_onoff(const int led, const int onoff)
Definition leds.c:6