4.115
Last change
on this file since f619250 was
fb070e05,
checked in by Sebastian Huber <sebastian.huber@…>, on 01/09/13 at 13:31:20
|
libchip: Add I2C SEMTECH SC620 octal LED driver
|
-
Property mode set to
100644
|
File size:
992 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2013 embedded brains GmbH. All rights reserved. |
---|
3 | * |
---|
4 | * embedded brains GmbH |
---|
5 | * Dornierstr. 4 |
---|
6 | * 82178 Puchheim |
---|
7 | * Germany |
---|
8 | * <rtems@embedded-brains.de> |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.com/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #ifndef I2C_SC620_H |
---|
16 | #define I2C_SC620_H |
---|
17 | |
---|
18 | #include <rtems/libi2c.h> |
---|
19 | |
---|
20 | #ifdef __cplusplus |
---|
21 | extern "C" { |
---|
22 | #endif /* __cplusplus */ |
---|
23 | |
---|
24 | /** |
---|
25 | * @brief I2C driver for SEMTECH SC620 octal LED driver. |
---|
26 | * |
---|
27 | * A write() must use two character buffer. The buffer[0] value specifies the |
---|
28 | * register and the buffer[1] value specifies the register data. |
---|
29 | * |
---|
30 | * A read() must use a one character buffer. The buffer[0] value specifies the |
---|
31 | * register on function entry. The buffer[0] value contains the register value |
---|
32 | * after a successful operation. |
---|
33 | */ |
---|
34 | extern rtems_libi2c_drv_t i2c_sc620_driver; |
---|
35 | |
---|
36 | #ifdef __cplusplus |
---|
37 | } |
---|
38 | #endif /* __cplusplus */ |
---|
39 | |
---|
40 | #endif /* I2C_SC620_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.