- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what is the use of AMX_IN in the program...??
can anyone explain me in detail....
- Labels:
-
PSoC 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AMX_IN is the PSoC internal analog multiplexer that connects the required signals to the ADC.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Or
Get hands on a quite more modern PSoC design as a PSoC5 for few money.
Bob