Revision ef078306 include/alld_tlc5947.h
include/alld_tlc5947.h | ||
---|---|---|
31 | 31 |
|
32 | 32 |
#if defined(AMIROLLD_CFG_USE_TLC5947) || defined(__DOXYGEN__) |
33 | 33 |
|
34 |
/******************************************************************************/ |
|
35 |
/* CONSTANTS */ |
|
36 |
/******************************************************************************/ |
|
37 |
|
|
34 | 38 |
/** |
35 | 39 |
* @brief Active state of the BLANK signal. |
36 | 40 |
*/ |
... | ... | |
56 | 60 |
*/ |
57 | 61 |
#define TLC5947_LLD_BUFFER_SIZE (TLC5947_LLD_NUM_CHANNELS * TLC5947_LLD_PWM_RESOLUTION_BITS / 8) |
58 | 62 |
|
63 |
/******************************************************************************/ |
|
64 |
/* SETTINGS */ |
|
65 |
/******************************************************************************/ |
|
66 |
|
|
67 |
/******************************************************************************/ |
|
68 |
/* CHECKS */ |
|
69 |
/******************************************************************************/ |
|
70 |
|
|
71 |
/******************************************************************************/ |
|
72 |
/* DATA STRUCTURES AND TYPES */ |
|
73 |
/******************************************************************************/ |
|
74 |
|
|
59 | 75 |
/** |
60 | 76 |
* @brief The TLC5947Driver struct |
61 | 77 |
*/ |
... | ... | |
81 | 97 |
uint8_t data[TLC5947_LLD_BUFFER_SIZE]; /**< The raw buffer data. */ |
82 | 98 |
} tlc5947_lld_buffer_t; |
83 | 99 |
|
100 |
/******************************************************************************/ |
|
101 |
/* MACROS */ |
|
102 |
/******************************************************************************/ |
|
103 |
|
|
104 |
/******************************************************************************/ |
|
105 |
/* EXTERN DECLARATIONS */ |
|
106 |
/******************************************************************************/ |
|
107 |
|
|
84 | 108 |
#ifdef __cplusplus |
85 | 109 |
extern "C" { |
86 | 110 |
#endif |
... | ... | |
94 | 118 |
} |
95 | 119 |
#endif |
96 | 120 |
|
121 |
/******************************************************************************/ |
|
122 |
/* INLINE FUNCTIONS */ |
|
123 |
/******************************************************************************/ |
|
124 |
|
|
97 | 125 |
#endif /* defined(AMIROLLD_CFG_USE_TLC5947) */ |
98 | 126 |
|
99 | 127 |
#endif /* AMIROLLD_TLC5947_H */ |
Also available in: Unified diff