Revision 21076167 source/alld_tlc5947.c

View differences:

source/alld_tlc5947.c
58 58
 * @param[in] blank     The state to set the TLC5947 driver to.
59 59
 * @return              An indicator whether the call was successful.
60 60
 */
61
inline apalExitStatus_t
62
tlc5947_lld_setBlank(const TLC5947Driver* const tlc5947, const tlc5947_lld_blank_t blank)
61
apalExitStatus_t tlc5947_lld_setBlank(const TLC5947Driver* const tlc5947, const tlc5947_lld_blank_t blank)
63 62
{
64 63
  apalDbgAssert(tlc5947 != NULL);
65 64

  
......
73 72
 * @param[out] blank    The state object to fill.
74 73
 * @return              An indicator whether the call was successful.
75 74
 */
76
inline apalExitStatus_t
77
tlc5947_lld_getBlank(const TLC5947Driver* const tlc5947, tlc5947_lld_blank_t* const blank)
75
apalExitStatus_t tlc5947_lld_getBlank(const TLC5947Driver* const tlc5947, tlc5947_lld_blank_t* const blank)
78 76
{
79 77
  apalDbgAssert(tlc5947 != NULL);
80 78
  apalDbgAssert(blank != NULL);
......
109 107
 * @brief Write buffer via SPI to the TLC5947.
110 108
 * @return                  An indicator whether the call was successful.
111 109
 */
112
inline apalExitStatus_t
113
tlc5947_lld_write(const TLC5947Driver* const tlc5947, const tlc5947_lld_buffer_t* const buffer)
110
apalExitStatus_t tlc5947_lld_write(const TLC5947Driver* const tlc5947, const tlc5947_lld_buffer_t* const buffer)
114 111
{
115 112
  apalDbgAssert(tlc5947 != NULL);
116 113
  apalDbgAssert(buffer != NULL);
......
127 124
 *                      Must be a 12bit value.
128 125
 * @return              An indicator whether the call was successful.
129 126
 */
130
inline void
131
tlc5947_lld_setBuffer(tlc5947_lld_buffer_t* const buffer, const uint8_t channel, const uint16_t value)
127
void tlc5947_lld_setBuffer(tlc5947_lld_buffer_t* const buffer, const uint8_t channel, const uint16_t value)
132 128
{
133 129
  apalDbgAssert(buffer != NULL);
134 130
  apalDbgAssert(channel < TLC5947_LLD_NUM_CHANNELS);
......
155 151
 * @param[in] channel   The channel to read
156 152
 * @return              An indicator whether the call was successful.
157 153
 */
158
inline uint16_t
159
tlc5947_lld_getBuffer(const tlc5947_lld_buffer_t* const buffer, const uint8_t channel)
154
uint16_t tlc5947_lld_getBuffer(const tlc5947_lld_buffer_t* const buffer, const uint8_t channel)
160 155
{
161 156
  apalDbgAssert(buffer != NULL);
162 157
  apalDbgAssert(channel < TLC5947_LLD_NUM_CHANNELS);

Also available in: Unified diff