]>
Commit | Line | Data |
---|---|---|
64c29e28 UH |
1 | ## |
2 | ## This file is part of the sigrok project. | |
3 | ## | |
4 | ## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de> | |
5 | ## | |
6 | ## This program is free software; you can redistribute it and/or modify | |
7 | ## it under the terms of the GNU General Public License as published by | |
8 | ## the Free Software Foundation; either version 2 of the License, or | |
9 | ## (at your option) any later version. | |
10 | ## | |
11 | ## This program is distributed in the hope that it will be useful, | |
12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ## GNU General Public License for more details. | |
15 | ## | |
16 | ## You should have received a copy of the GNU General Public License | |
17 | ## along with this program; if not, write to the Free Software | |
18 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
19 | ## | |
20 | ||
156509ca UH |
21 | ''' |
22 | TrekStor EBR30-a I2C demux protocol decoder. | |
23 | ||
24 | Takes an I2C stream as input and outputs 3 different I2C streams, for the | |
25 | 3 different I2C devices on the TrekStor EBR30-a eBook reader (which are all | |
26 | physically connected to the same SCL/SDA lines). | |
27 | ||
28 | I2C slave addresses: | |
29 | ||
30 | - AXP199 battery management chip: 0x69/0x68 (8bit R/W), 0x34 (7bit) | |
31 | - H8563S RTC chip: 0xa3/0xa2 (8bit R/W), 0x51 (7bit) | |
32 | - Unknown accelerometer chip: 0x2b/0x2a (8bit R/W), 0x15 (7bit) | |
33 | ''' | |
34 | ||
64c29e28 UH |
35 | from .ebr30a_i2c_demux import * |
36 |