what is the use of AMX_IN in the program...??
can anyone explain me in detail....
Not without having a look into that program.
It is a C language statement that performs
Take the value of the variable AMUX_IN, set the bit number 0 to logical 1 and store the result in AMUX_IN again.
Here is a link to a C-language manual.
can u explain me for this project???
AMX_IN is the PSoC internal analog multiplexer that connects the required signals to the ADC.
still i dont understand how can i connect pin through this AMX_IN Register....can u explain me with some small example..??...i trapped in this register from past 2 days...
Read datasheet for AMUX component (Analog Multiplexor). Might be that in the project a trick is used when bit 0 is turned on. Disgusting is: The author did not use an AMUX component (which is pure software) but accessing the AMX- registers programmatically.
Learn and use the AMUX component.
Get hands on a quite more modern PSoC design as a PSoC5 for few money.