NHS31xx SW API
led.h
1 /*
2  * Copyright 2014-2016,2019 NXP
3  * This software is owned or controlled by NXP and may only be used strictly
4  * in accordance with the applicable license terms. By expressly accepting
5  * such terms or by downloading, installing, activating and/or otherwise using
6  * the software, you are agreeing that you have read, and that you agree to
7  * comply with and are bound by, such license terms. If you do not agree to
8  * be bound by the applicable license terms, then you may not retain, install,
9  * activate or otherwise use the software.
10  */
11 
12 #ifndef __LED_H_
13 #define __LED_H_
14 
15 #include "led/led_dft.h"
16 
58 #define LED_(n) (1 << (n))
59 #define LED_ALL ((1 << (LED_COUNT)) - 1)
70 void LED_Init(void);
71 
80 void LED_SetState(int leds, int states);
81 
89 int LED_GetState(int leds);
90 
97 void LED_On(int leds);
98 
105 void LED_Off(int leds);
106 
113 void LED_Toggle(int leds);
114 
115 #endif
int LED_GetState(int leds)
void LED_Off(int leds)
void LED_SetState(int leds, int states)
void LED_Toggle(int leds)
void LED_On(int leds)