Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I'm designing a board that will plug into a Freescale K22F development board, and I'd like to provide a nice high-precision external analog reference to it via the K22F's analog reference input pin. Then I wondered how I can control whether ADC will even use the external reference, and what the defaults are used by AnalogIn. I haven't been able to find this information yet. It's great to have the simple APIs to start with, but I'm having hard time figuring out how to dig deeper to modify the default settings to take advantage of the benefits of some of the peripherals. I'm new to mbed, CMSIS and ARM in general, and I have a basic question of where I find the syntax to modify specific registers. Am I wrong to hope that there is a straightforward way to tweak AnalogIn or the other mbed classes to take advantage of the hardware features that are specific to my hardware platform? Or are all special peripheral features wasted when using mbed because everything has to be compatible with the least-capable platform?