-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
NimaLTD.I-CUBE-WS28XX_conf.h
70 lines (56 loc) · 2.11 KB
/
NimaLTD.I-CUBE-WS28XX_conf.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/**
******************************************************************************
* File Name : NimaLTD.I-CUBE-WS28XX_conf.h
* Description : This file provides code for the configuration
* of the NimaLTD.I-CUBE-WS28XX_conf.h instances.
******************************************************************************
* @attention
*
* Copyright (c) 2024 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef _NIMALTD_I_CUBE_WS28XX_CONF_H_
#define _NIMALTD_I_CUBE_WS28XX_CONF_H_
#ifdef __cplusplus
extern "C" {
#endif
#define WS28XX_ORDER_RGB 0
#define WS28XX_ORDER_BGR 1
#define WS28XX_ORDER_GRB 2
#define WS28XX_RTOS_DISABLE 0
#define WS28XX_RTOS_CMSIS_V1 1
#define WS28XX_RTOS_CMSIS_V2 2
#define WS28XX_RTOS_THREADX 3
/**
MiddleWare name : NimaLTD.I-CUBE-WS28XX.3.0.0
MiddleWare fileName : NimaLTD.I-CUBE-WS28XX_conf.h
*/
/*---------- WS28XX_PIXEL_MAX -----------*/
#define WS28XX_PIXEL_MAX 256
/*---------- WS28XX_PULSE_LENGTH_NS -----------*/
#define WS28XX_PULSE_LENGTH_NS 1250
/*---------- WS28XX_PULSE_0_NS -----------*/
#define WS28XX_PULSE_0_NS 400
/*---------- WS28XX_PULSE_1_NS -----------*/
#define WS28XX_PULSE_1_NS 800
/*---------- WS28XX_ORDER -----------*/
#define WS28XX_ORDER WS28XX_ORDER_GRB
/*---------- WS28XX_GAMMA -----------*/
#define WS28XX_GAMMA true
/*---------- WS28XX_RTOS -----------*/
#define WS28XX_RTOS WS28XX_RTOS_DISABLE
#ifdef __cplusplus
}
#endif
#endif /* _NIMALTD_I_CUBE_WS28XX_CONF_H_ */
/**
* @}
*/
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/