source: rtems/bsps/include/libchip/i2c-sc620.h @ fe6d96c

Last change on this file since fe6d96c was fe6d96c, checked in by Joel Sherrill <joel@…>, on 03/01/22 at 21:39:06

bsps/include/: Scripted embedded brains header file clean up

Updates #4625.

  • Property mode set to 100644
File size: 884 bytes
Line 
1/*
2 * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 * http://www.rtems.org/license/LICENSE.
7 */
8
9#ifndef I2C_SC620_H
10#define I2C_SC620_H
11
12#include <rtems/libi2c.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif /* __cplusplus */
17
18/**
19 * @brief I2C driver for SEMTECH SC620 octal LED driver.
20 *
21 * A write() must use two character buffer.  The buffer[0] value specifies the
22 * register and the buffer[1] value specifies the register data.
23 *
24 * A read() must use a one character buffer.  The buffer[0] value specifies the
25 * register on function entry.  The buffer[0] value contains the register value
26 * after a successful operation.
27 */
28extern rtems_libi2c_drv_t i2c_sc620_driver;
29
30#ifdef __cplusplus
31}
32#endif /* __cplusplus */
33
34#endif /* I2C_SC620_H */
Note: See TracBrowser for help on using the repository browser.