Hmm, I have a few comments.

"For example I do not make the driver initialize the EXTConfig, I leave this to the user.
Instead there is a generic "ext"-callback that shall be used for sensor interrupts."
don't get this, even looking at code. i would like to hide EXTConfig to user, just tell me with pin the interrupt use

This is because it makes things happen "behind the scenes".
If someone deigns an embedded system, this person will know how the interrupts and such are connected to the system and with that one structure should define this.
Plus if you do it the way I do the EXTConfig will be a constant. No erroneous code can make strange things happen to the interrupts, which would be a pain to debug.
On top of this, if you want to mix sensor interrupts with other ones a single constant EXTConfig is the best I believe.
But this is a personal taste. I very strongly believe that as much as possible shall be constants, especially things that are constant after compile time (ex the sensors will not change their interrupt channel so it shall be a constant).
"Also I added so, if it is important, that the rounding errors in the polled time does not accumul'ate over time."
if sensor is in free-running mode. rounding error is 1 clock cicle, so loosing a read every minute is not a great problem.
if it is in sigle read, the error is less bigger as the next reading start after the read
Lets not be hasty here

If you do measurements over a very long time you do not want you measurements to drift over time, this would make the analysis of the data more difficult.
But I agree, for most applications this will not be used.
i like the idea of having a queue of more readings, and it is nice that priority sensor are put to the head, but they all end up to ONE dispachte thread, and this is bad for parallelization; only the final data readed should be sincronized to one thread.
Also like a lot the idea of injecting sensor read; but imho should use something like the interrupt handler (or iterrupt handler and poller handler call the inject, with is more a dispachet to the right thread's queue)
On the "one thread"-part, of course it will be one thread - why should it not be one thread? The only reason you'd might need more threads is if the sensors are on different buses, but then we get into a whole new level of problem.
To be "optimal" you should have one thread per bus, so no one bus is waiting for another bus. In my implementation I assumed that the sensors are on the same bus or that the read_sensor(void *) function executes very quickly.
For example the read_sensor function could be used to just start an asynchronous read of a sensor and the callback handles the data transitions.
Or if you want the thread to handle the entire transmit/receive operation you can add some more logic for multiple buses. This is how I would do it then:
1. Try to take the mutex for the bus the sensor that has requested a read occupies.
2. If it is already taken, move this read to a "waiting" queue.
3. Try the next sensor. .....
And in between each sensor for the original queue you test the mutex in the waiting queue to see if it has been released.
Fron the top of my head it feels as if it should minimize the overhead. But then you must know which bus each sensor uses.
I'm not quite sure about what you mean with the inject part. I designed it to be a user's way to manually read a sensor.
Of course it can be expanded to do much more if needed.
also virtual timer should be translated to only one tread with poll the next reading, as i "fell" it lighter than multiple virtual timer.
Each to his taste

I have found the virtual timer implementation to be extremely efficient.
(What is the theoretical limit to this Giovanni?) I have successfully run 30 VTs with a 10kHz SysTick, when I was testing them for the first time, without any noticeable delays.
This was however on a Cortex-M4 CPU at 168 MHz, so perhaps not that strange.
Queue can be a circular array instead of a list, and you just move the ntex of head and tail, so even here you have a static initialization and if that index are just byte (volatile) i think you don't even need READ lock, just a way to get the next (or head) index to write.
Of course you can create a circular buffer, but I really like the queue system. Again, each to his taste

Both because it has inherit synchronization primitives and it is easy to use.
i've to think a lot, my head is sping around many ideas and i've to find plausible, and maybe also do some test (well think about how do some test) to measure the ovehead of the system.
Yeah, this is no easy task to do. If you have more ideas please put them here and we can discuss. With some luck we can converge to a single way of doing this and in the process get a very good and efficient way of working with sensors in a generic way.

And when it comes to measuring the overhead, you can do that with the TM module in 3.0.0. I'm not quite sure what it is in 2.6.x as I almost directly started with 3.0.0.
Good luck, keep it up and keep me updated!
