Quick and Easy Code Generation for NXP Microcontrollers

Code Architect

Visit the main Embedded Systems Academy site for technical information and more related to CAN, CANopen and embedded systems!

Current Project: Not Saved Open Project | Save Project | New Project

Select the desired microcontroller and peripheral:

Start >  89LPC936 >  ADC

 Help: How do I select what I want?

Step 2 Configure the ADC and click on Generate:
Input  
CPU Clock Frequency (MHz):
   
Options  
Use DAC0  
Use ADC0  
Use channels:
0 1 2 3
Use boundary check:
Apply boundary check to:
Boundary high limit: (0 - 255)
Boundary low limit: (0 - 255)
Use DAC1  
Use ADC1  
Use channels:
0 1 2 3
Use boundary check:
Apply boundary check to:
Boundary high limit: (0 - 255)
Boundary low limit: (0 - 255)
   
Interrupts  
Interrupt Register Bank:

Interrupt Priority:

Interrupt function name:

   
Functions  
Initialization function name:

Set DAC0 output function name:

Set DAC1 output function name:

Start ADC0 conversion function name:

Stop ADC0 conversion function name:

Start ADC1 conversion function name:

Stop ADC1 conversion function name: