ADC
所属分类:单片机开发
开发工具:C/C++
文件大小:1524KB
下载次数:12
上传日期:2012-04-09 12:37:10
上 传 者:
j__j
说明: 英飞凌xc836MT-2F单片机内部AD转换源码,keil编译环境,共享万岁!
(The Infineon xc836MT-2F SCM internal AD conversion source, c51 compilation environment, shared, long live!)
文件列表:
ADC\ADC01\ADC.C (14600, 2010-08-10)
ADC\ADC01\ADC.H (2930, 2010-08-10)
ADC\ADC01\ADC.LST (21686, 2012-02-17)
ADC\ADC01\ADC.OBJ (29449, 2012-02-17)
ADC\ADC01\ADC01 (84881, 2012-02-17)
ADC\ADC01\ADC01.dav (55945, 2011-12-20)
ADC\ADC01\ADC01.dpt (47898, 2010-08-10)
ADC\ADC01\ADC01.hex (968, 2012-02-17)
ADC\ADC01\ADC01.lnp (104, 2012-02-17)
ADC\ADC01\ADC01.M51 (13540, 2012-02-17)
ADC\ADC01\ADC01.plg (374, 2012-02-17)
ADC\ADC01\ADC01.rtf (13919, 2010-08-10)
ADC\ADC01\ADC01.uvopt (83938, 2012-02-17)
ADC\ADC01\ADC01.uvproj (27934, 2010-08-10)
ADC\ADC01\ADC01_DEBUG (84911, 2012-02-17)
ADC\ADC01\ADC01_DEBUG.hex (968, 2012-02-17)
ADC\ADC01\ADC01_DEBUG.lnp (110, 2012-02-17)
ADC\ADC01\ADC01_DEBUG.M51 (13564, 2012-02-17)
ADC\ADC01\ADC01_DEBUG.plg (392, 2012-02-17)
ADC\ADC01\ADC01_uvopt.bak (83928, 2012-02-17)
ADC\ADC01\ADC01_uvproj.bak (27941, 2010-08-10)
ADC\ADC01\BOOTROM_ADDR.A51 (1287, 2010-08-10)
ADC\ADC01\BOOTROM_ADDR.LST (3208, 2012-02-17)
ADC\ADC01\BOOTROM_ADDR.OBJ (330, 2012-02-17)
ADC\ADC01\MAIN.C (7668, 2012-02-17)
ADC\ADC01\MAIN.H (34872, 2010-08-10)
ADC\ADC01\MAIN.LST (12979, 2012-02-17)
ADC\ADC01\MAIN.OBJ (27789, 2012-02-17)
ADC\ADC01\START_XC.A51 (13778, 2010-08-10)
ADC\ADC01\START_XC.LST (28964, 2012-02-17)
ADC\ADC01\START_XC.OBJ (1066, 2012-02-17)
ADC\ADC01\UART.C (7350, 2010-08-10)
ADC\ADC01\UART.H (2817, 2010-08-10)
ADC\ADC01\UART.LST (11530, 2012-02-17)
ADC\ADC01\UART.OBJ (27666, 2012-02-17)
ADC\ADC02\ADC.C (19258, 2010-08-10)
ADC\ADC02\ADC.H (2926, 2010-08-10)
ADC\ADC02\ADC.LST (28370, 2012-02-17)
ADC\ADC02\ADC.OBJ (35426, 2012-02-17)
ADC\ADC02\ADC02 (132204, 2012-02-17)
... ...
Examples for EasyKit XC83x
V1.0, May 2010
(c) Infineon Technologies AG
Description of Software Examples of ADC Module
-------------------------------------------------------------------
1. ADC01: Simple ADC using POT at CH3
- Sequential source
- Refill queue
- No interrupt, polling method
- 10 bit conversion
- Display ADC results on PC program (optional)
2. ADC02: Comparator Mode and Interrupt
- Parallel source on CH3
- Load Event by software
- Channel interrupt if result is out of boundary (boundary checking)
- Toggle P0.4 if result is out of boundary
- Display ADC results within the conversion range on PC program (optional)
3. ADC03: Autoscan Mode
- Convert CH3, CH2, CH1 and CH0 in a sequence automatically
- Save result in ADC result registers 3, 2, 1 and 0
- Wait-for-read
- Display ADC results on PC program (optional)
4. ADC04: Time-Triggered Injected Conversion
- Trigger sequential source conversion on CH3 by T13PM with automatic refill
- Result written to result register 0 with Event Interrupt
- Display ADC results on PC program (optional)
5. ADC05: Autoscan, Comparator & Injected Conversions
- Combination of ADC02 and ADC04
- Sequential conversion of CH2 with refill
- Parallel conversion of CH0, CH1 and CH3 with autoscan
- Comparator Mode and Channel Interrupt (CH3)
- Time Triggered Injected Conversion with refill (CH2)
- Event Interrupt
- Display ADC results on PC program (optional)
6. ADC06: Time triggered queued conversion for quasi-synchronous sampling
-Conversion of CH2 and CH3 with multi-stage queue and auto-refill
- Quasi synchronous sampling -> CH2 – CH3 – CH3 – CH2
- T12 in single shot mode to trigger conversion
- Triggers result interrupt after each conversion
- Wait-for-read to prevent data loss
- Display ADC results on PC program (optional)
7. ADC07: Quasi synchronous sampling of CH0/CH1 and CH2/CH3
- T12 in single shot mode to trigger
- Multi-stage queue without refill
- One result interrupt after conversion of CH0/CH1, one after CH2/CH3
- Display ADC results on PC program (optional)
8. ADC08: Re-directing conversion requests for CH0 to CH3 (Aliasing feature)
- Measure CH3 twice and store results in 2 different result registers
- Time Triggered Injected conversion with refill
- Display ADC results on PC program (optional)
9. ADC09: Boundary flag for pulse measurement
- CH2 result to set/reset Boundary Flag with limit checker
- Boundary Flag triggers CCU6 capture
- Display ADC results on PC program (optional)
10. ADC10: Differential voltage measurement
- Alternate reference selection for differential measurement
- Display ADC results on PC program (optional)
11. ADC11: Out of range comparator (ORC)
- ORC to trigger interrupt
- Display ADC results on PC program (optional)
近期下载者:
相关文件:
收藏者: