Attached code demonstrates the HADC functionality. ADC is configured in continuous sampling mode and core acquires "DATASIZE" number of data samples from HADC.
Code can be modified to :
- Select different ADC channels
- Change the ADC sampling rate by modifying "FCLKDIV" macro
Code for both ARM and SHARC core is attached