Changeset 188 for trunk/kernel/devices/dev_fbf.h
- Timestamp:
- Jul 12, 2017, 8:12:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_fbf.h
r3 r188 90 90 91 91 /****************************************************************************************** 92 * This function completes the FBF chdev descriptor initialisation, 93 * namely the width and height parameters. 94 * TODO : these parameters should be provided by the hardware through a dedicated 95 * software API ... 92 * This function completes the FBF chdev descriptor initialisation. 96 93 * It calls the specific driver initialisation function, to initialise the hardware 97 94 * device and the specific data structures when required by the implementation. 98 95 * It must be called by a local thread. 96 * 97 * TODO In this first approach, the "width" and "height" parameters are defined 98 * by the CONFIG_FBF_WIDTH & CONFIG_FBF_HEIGHT in the kernel_config.h file. 99 * These parameters should be provided by the driver, accessing dedicated 100 * adressable registers in the FBF controler. 99 101 ****************************************************************************************** 100 102 * @ chdev : pointer on FBF chdev descriptor. 101 * @ width : number of pixels (bytes) per line.102 * @ height : total number of lines.103 103 *****************************************************************************************/ 104 void dev_fbf_init( struct chdev_s * chdev, 105 uint32_t width, 106 uint32_t height ); 104 void dev_fbf_init( struct chdev_s * chdev ); 107 105 108 106 /******************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.