Well the internal interrupts are needed to perform the function of the module. Usually a stub is built in so that you may insert your own code into the ISR. I do not prefer fumbling around in generated code especially when I have to change between different PSoC architectures, so I use an ISR component to get full control in my sources.
But is the executin faster than the isr component? because I read that isr execution delay from its triger is 25 clock cycles.
So I was just concerned whether the internal isr work faster or not. If it works faster then i can easily use them.
By the way how to use them is another question?
The interrupt latency applies to all interrupts, internal or external. Again: when you are short of only 1 microsecond (the latency time) with an UART there will probably something be too tough with your calculations!
The UART internal interrupt handles a circular buffer to store the incoming characters, you still have to poll for chars.
The ADC creates several interrupts before a value is ready, while reading out the value another conversion can be made.
"The ADC creates several interrupts before a value is ready, while reading out the value another conversion can be made."
Is this true, or is there just a state machine internal to ADC handling all decimator functions ?
The only internal interrupt I can find for ADC is referenced as follows -
eoc – Output
A rising edge on the End of Conversion (eoc) signals that a conversion is complete. The pin
goes high for one ADC clock period. The eoc is typically connected to an interrupt or DMA
request. The DMA request is typically used to transfer the conversion output to system RAM,
DFB, or another component. There is already an interrupt, internal to the component, which is
connected to this signal.
Probably not a good day, today. Another mistake of mine... The state-machine needing several interrupts is (if I am not mistaken again) a construct of PSoC1 and not of PSoC5.
Although there is a real interrupt declared in ADC.h and defined in ADC_INT.c
where is a clearly marked place to insert some user code.
There should be 4 of those as there is 4 allowed configurations.