wake-0 / fhvOS

This repository contains an os for the arm cortex a8 in combination with beaglebone.
GNU General Public License v2.0
7 stars 1 forks source link

[Driver] Refactor Timer Driver #39

Closed wake-0 closed 9 years ago

wake-0 commented 9 years ago

Refactor timer driver according to convention, i.e. function should be named as follows:

extern int TimerDriverInit(uint16_t id);
extern int TimerDriverOpen(uint16_t id);
extern int TimerDriverClose(uint16_t id);
extern int TimerDriverWrite(uint16_t id, char* buf, uint16_t len);
extern int TimerDriverRead(uint16_t id, char* buf, uint16_t len);
extern int TimerDriverIoctl(uint16_t id, uint16_t cmd, uint8_t mode, char* buf, uint16_t len);
ghost commented 9 years ago

done