Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

xc2rx

Member Since 05 Aug 2010
Offline Last Active Aug 09 2015 04:13 AM
-----

#694 How to access hardware timers/counters?

Posted by xc2rx on 17 August 2010 - 07:45 PM

That should be possible, but it's probably something that would require native C++ drivers (much like the Arduino uses direct interrupt control).

This brings up a good question: should we expose a standard C# class which lets you read/write processor registers directly?

Chris



Hi Guys,

I've coded in assembly, C/C++, and C# for the last good 10 years. I coded in assembly for 8051, in C/C++ for the 8-bit AVRMega MCU, and now in C# for the NETDUINO. It only make sense that NETDUINO continues to motivate development in C# and not going backward to C/C++ or native code. With this in mind, I recommend that the NETDUINO opensource community should expose a standard C# class which allows read/write to/from the MCU's registers directly.

This would allow C# programmer to create their own driver in C# and not have to deal with any native C/C++ code. I think this feature will make NETDUINO unique compare to other products out there. I strongly suggest that this feature gets implemented.

Also, an example of how to do this in native C/C++ would be nice to for those folks who like to do hardcore programming like myself :)

Thanks!


home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.