參數(shù)資料
型號(hào): 87LPC769
廠商: NXP Semiconductors N.V.
英文描述: Low power, low price, low pin count(20 pin) microcontroller with 4 kB OTP and 8-bit A/D,and DAC(帶4 kB OTP、8位A/D和D/A轉(zhuǎn)換的低功耗,低價(jià)格,少引腳(20引腳)的微控制器)
中文描述: 低功耗,低價(jià)格,低引腳數(shù)(20針)與4 KB的檢察官辦公室和8位A / D,和DAC(帶4 KB的檢察官辦公室,8位微控制器的A / D和的D / A轉(zhuǎn)換的低功耗,低價(jià)格,少引腳(20引腳)的微控制器)
文件頁(yè)數(shù): 19/61頁(yè)
文件大?。?/td> 275K
代理商: 87LPC769
Philips Semiconductors
Preliminary specification
87LPC769
Low power, low price, low pin count (20 pin)
microcontroller with 4 kB OTP 8-bit A/D, and DAC
2000 Apr 26
16
Internal Reference Voltage
An internal reference voltage generator may supply a default
reference when a single comparator input pin is used. The value of
the internal reference voltage, referred to as V
ref
, is 1.28 V
±
10%.
Comparator Interrupt
Each comparator has an interrupt flag CMFn contained in its
configuration register. This flag is set whenever the comparator
output changes state. The flag may be polled by software or may be
used to generate an interrupt. The interrupt will be generated when
the corresponding enable bit ECn in the IEN1 register is set and the
interrupt system is enabled via the EA bit in the IEN0 register.
Comparators and Power Reduction Modes
Either or both comparators may remain enabled when Power Down
or Idle mode is activated. The comparators will continue to function
in the power reduction mode. If a comparator interrupt is enabled, a
change of the comparator output state will generate an interrupt and
wake up the processor. If the comparator output to a pin is enabled,
the pin should be configured in the push-pull mode in order to obtain
fast switching times while in power down mode. The reason is that
with the oscillator stopped, the temporary strong pull-up that
normally occurs during switching on a quasi-bidirectional port pin
does not take place.
Comparators consume power in Power Down and Idle modes, as
well as in the normal operating mode. This fact should be taken into
account when system power consumption is an issue.
Comparator Configuration Example
The code shown in Figure 8 is an example of initializing one
comparator. Comparator 1 is configured to use the CIN1A and
CMPREF inputs, outputs the comparator result to the CMP1 pin,
and generates an interrupt when the comparator output changes.
The interrupt routine used for the comparator must clear the
interrupt flag (CMF1 in this case) before returning.
SU01189
CmpInit:
mov
PT0AD,#30h
; Disable digital inputs on pins that are used
; for analog functions: CIN1A, CMPREF.
; Disable digital outputs on pins that are used
; for analog functions: CIN1A, CMPREF.
; Turn on comparator 1 and set up for:
; – Positive input on CIN1A.
; – Negative input from CMPREF pin.
; – Output to CMP1 pin enabled.
; The comparator has to start up for at
; least 10 microseconds before use.
; Clear comparator 1 interrupt flag.
; Enable the comparator 1 interrupt. The
; priority is left at the current value.
; Enable the interrupt system (if needed).
; Return to caller.
anl
orl
mov
P0M2,#0cfh
P0M1,#30h
CMP1,#24h
call
delay10us
anl
setb
CMP1,#0feh
EC1
setb
ret
EA
Figure 8.
相關(guān)PDF資料
PDF描述
87N-1000A-0C Signal Conditioner
87N-1000A-0L Signal Conditioner
87N-1000A-0P Signal Conditioner
87N-1000A-0R Signal Conditioner
87N-1000S-4L Signal Conditioner
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
87MCW4MD 制造商:Siemens 功能描述:
87MCW4MF 制造商:Siemens 功能描述:
87MCW4MG 制造商:Siemens 功能描述:
87MCW4MH 制造商:Siemens 功能描述:
87MCW4MJ 制造商:Siemens 功能描述: