| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame^] | 1 | -- |
| 2 | -- Copyright (C) 2015 secunet Security Networks AG |
| 3 | -- |
| 4 | -- This program is free software; you can redistribute it and/or modify |
| 5 | -- it under the terms of the GNU General Public License as published by |
| 6 | -- the Free Software Foundation; version 2 of the License. |
| 7 | -- |
| 8 | -- This program is distributed in the hope that it will be useful, |
| 9 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | -- GNU General Public License for more details. |
| 12 | -- |
| 13 | |
| 14 | package HW.GFX.I2C is |
| 15 | |
| 16 | type Transfer_Address is mod 2 ** 7; |
| 17 | subtype Transfer_Length is Natural range 0 .. 128; |
| 18 | subtype Transfer_Index is Natural range 0 .. Transfer_Length'Last - 1; |
| 19 | subtype Transfer_Data is Buffer (Transfer_Index); |
| 20 | |
| 21 | end HW.GFX.I2C; |