template for driver
nicolad76
Posts: 164
Hi all....this is the "idea of 6 PM" after an heavy day.
I will start writing my first driver ever for a e-ink monitor from PVI (does anybody have one ready )...I am trying to build a little background before killing the display and I thought...driver is about timing, pins assignement and basic functions (init, write, read...send command..send data) etc etc...
Is possible there is no tool to quickly develop drivers? Does any "template" exists?
I assume I am too tired if I am thinking of that...
What is your idea?
Thanks
·-- Nicola --
I will start writing my first driver ever for a e-ink monitor from PVI (does anybody have one ready )...I am trying to build a little background before killing the display and I thought...driver is about timing, pins assignement and basic functions (init, write, read...send command..send data) etc etc...
Is possible there is no tool to quickly develop drivers? Does any "template" exists?
I assume I am too tired if I am thinking of that...
What is your idea?
Thanks
·-- Nicola --
Comments
If you do have to write a drive start with a good flow-chart or pseudo code. After you have done this and have a good algorithm you can think about writing some code either in spin or assembler.