Custom LED driver header file.
More...
#include "driver/gpio.h"
Go to the source code of this file.
Custom LED driver header file.
- Author
- Jesus Minjares (https://github.com/jminjares4)
- Version
- 0.1
- Date
- 2022-07-25
- Copyright
- Copyright (c) 2022
◆ state_t
lcd.h
LED state enumeration
Enumerator |
---|
OFF | LED OFF
|
ON | LED ON
|
◆ led_enable()
void led_enable |
( |
led_t *const | led | ) |
|
LED enable.
- Parameters
-
- Note
- The function assume that the user has initialize the members of the object.
- Returns
- None
◆ led_off()
void led_off |
( |
led_t *const | led | ) |
|
Turn off LED object pin.
- Parameters
-
- Note
- Function will update the state of LED
- Returns
- None
◆ led_on()
void led_on |
( |
led_t *const | led | ) |
|
Turn on LED object pin.
- Parameters
-
- Note
- Function will update the state of LED
- Returns
- None
◆ led_toggle()
void led_toggle |
( |
led_t *const | led | ) |
|
Toggle LED object pin.
- Parameters
-
- Note
- Function will update the state of LED
- Returns
- None