Hi Simon,
While fiddling with the PWM module I started wondering about how to implement the double edge functionality properly. This feature is not supported by PwmOut, which I can understand, yet it would be nice to be able to add a custom module that does implement this. In fact, what it comes down to is that I would like to write my own modules that can be used the same way as the modules in the library, without rewriting all the stuff you allready implemented. Unfortunately documentation is lacking (at least I can't find it). I went through all the trunk header files and managed to reconstruct some bits, but nothing about this Base class for instance. Would it be possible to get some documentation about the basics of the library? What do I get if I my class inherits from Base? What is the overhead? And how exactly is the board initialised? All pins are inputs when main starts, I suppose? From register inspection I deduced that the PWM1 pclk is 15 MHz. These are important details that I feel should be documented somewhere.
I think the mbed library is pretty nice and allows for rapid prototyping in many cases, but allready for my simplest project I needed to dive deeper, because the library alone is not sufficient. This would not be a problem if f.i. the library sources were available for inspection, but without proper documentation I might almost as well roll my own.
So, any chances of getting more documentation?
Regards,
Clemens
Hi Simon,
While fiddling with the PWM module I started wondering about how to implement the double edge functionality properly. This feature is not supported by PwmOut, which I can understand, yet it would be nice to be able to add a custom module that does implement this. In fact, what it comes down to is that I would like to write my own modules that can be used the same way as the modules in the library, without rewriting all the stuff you allready implemented. Unfortunately documentation is lacking (at least I can't find it). I went through all the trunk header files and managed to reconstruct some bits, but nothing about this Base class for instance. Would it be possible to get some documentation about the basics of the library? What do I get if I my class inherits from Base? What is the overhead? And how exactly is the board initialised? All pins are inputs when main starts, I suppose? From register inspection I deduced that the PWM1 pclk is 15 MHz. These are important details that I feel should be documented somewhere.
I think the mbed library is pretty nice and allows for rapid prototyping in many cases, but allready for my simplest project I needed to dive deeper, because the library alone is not sufficient. This would not be a problem if f.i. the library sources were available for inspection, but without proper documentation I might almost as well roll my own.
So, any chances of getting more documentation?
Regards,
Clemens