參數(shù)資料
型號(hào): C505L
廠商: SIEMENS AG
英文描述: Microcontrollers(8位微控制器)
中文描述: 微控制器(8位微控制器)
文件頁(yè)數(shù): 15/25頁(yè)
文件大?。?/td> 113K
代理商: C505L
LCD Control
Using the C505L
15 of 25
AP0829 05.99
Figure 12:
Configuration of LCD on Evaluation Board
This application requires the use of the onboard analog-to-digital converter of the C505L.
To use the A/D converter an external reference voltage and ground (V
AREF
and V
AGND
)
must be applied. For this example V
AREF
should be connected to V
CC
(5 V) and V
AGND
should be connected to V
SS
(0 V). These connections are already made on the starter kit
board. This example will use A/D channel 4 (P1.4) to read the externally applied analog
voltage.
6.2
Software Algorithms
The example software for this application note implements a voltmeter. The voltmeter is
implemented very simply using the A/D converter and the LCD controller of the C505L. A
Timer 0 interrupt is used to initiate the conversion to ensure an even distribution of
sampling points. Figure 11 shows the structure of the software.
N
D
K
E
J
F
X
I
M
DP L
C
G
B
A
H
DIGn (0xF3En)
DIGn+1 (0xF3En+1)
n = 0, 2, 4, 6, 8, … , 14
Segment
Column
Row
A
B
C
D
E
F
G
H
I
J
K
L
M
N
DP
X
n+2
n+2
n+2
n
n
n
n+3
n+3
n+1
n+1
n+1
n+3
n+3
n+1
n+2
n
0
1
2
3
2
1
1
0
0
1
2
2
3
3
3
0
n = 0, 4, 8, …, 28
A
B
C
D
F
E
G
H
I
J
K
LM
N
DP
X
相關(guān)PDF資料
PDF描述
C508 8-Bit CMOS Microcontroller
C508 Previous Vectron Model Numbers
C509-L 8-Bit CMOS Microcontroller
C509-L 8-Bit CMOS Microcontroller
C513A-2RM 8-Bit CMOS Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
C505-L 制造商:INFINEON 制造商全稱(chēng):Infineon Technologies AG 功能描述:8-Bit Single-Chip Microcontroller
C505L_1 制造商:INFINEON 制造商全稱(chēng):Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
C505L4EMCCFXQMA1 功能描述:IC MCU 32BIT 80MQFP 制造商:infineon technologies 系列:* 零件狀態(tài):最後搶購(gòu) 標(biāo)準(zhǔn)包裝:1
C505L4EMCCFXUMA1 功能描述:IC MCU 32BIT 80MQFP 制造商:infineon technologies 系列:* 零件狀態(tài):最後搶購(gòu) 標(biāo)準(zhǔn)包裝:1
C505-LM 制造商:INFINEON 制造商全稱(chēng):Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller