RTEMS  5.1
am29lv160.h
1 /*
2  * RTEMS Project (http://www.rtems.org/)
3  *
4  * Copyright 2007 Chris Johns (chrisj@rtems.org)
5  */
6 
14 #if !defined (_RTEMS_AM29LV160_H_)
15 #define _RTEMS_AM29LV160_H_
16 
17 #include <rtems/flashdisk.h>
18 
22 #define rtems_am29lv160t_segment_count (4)
23 extern const rtems_fdisk_segment_desc rtems_am29lv160t_segments[4];
24 
28 #define rtems_am29lv160b_segment_count (4)
29 extern const rtems_fdisk_segment_desc rtems_am29lv160b_segments[4];
30 
34 extern const rtems_fdisk_driver_handlers rtems_am29lv160_handlers;
35 
39 typedef struct rtems_am29lv160_config
40 {
41  int bus_8bit;
42  void* base;
44 
48 extern const rtems_am29lv160_config rtems_am29lv160_configuration[];
49 
53 extern uint32_t rtems_am29lv160_configuration_size;
54 
55 #endif
Definition: am29lv160.h:39
Interface to a Flash Disk Block Device.
Flash Segment Descriptor holds, number of continuous segments in the device of this type,...
Definition: flashdisk.h:174
Flash Low Level driver handlers.
Definition: flashdisk.h:200