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.
For an ADC driver, I would like to define a member function as an interrupt handler. This is what I have tried so far...
typedef void (ADC::*IntHandlerType)(void); IntHandlerType pointer = &ADC::_ADC_IRQHandler; NVIC_SetVector(ADC_IRQn, (uint32_t)pointer);However I'm getting an "Invalid Type Conversion (E171)" trying to typecast it to a uint32_t.