|
Z8FS021 Datasheet, PDF (42/68 Pages) Zilog, Inc. – Select from an assortment of lenses and pyroelectric sensors to best fit your application | |||
|
◁ |
ZMOTION® Intrusion Detection
Product Specification
34
Bit
Field
Control
Address
Table 14. PIR ADC Result Value
(ePIR_ADC_Result)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADC Result Value
Read
10AH
10BH
PIR ADC Result Value (Bits 0â15)
ADC Scan Request Result Value
Controlled by PIR Engine
The PIR ADC Result Value contains the result of the last application requested ADC conversion.
The data format is identical to that discussed in the Z8 Encore! XP Product Specification (PS0228) for
registers ADCD_H and ADCD_L.
Example for requesting an ANA0 Conversion:
⢠Set bit 0 (ANA0 Scan Request) in PIR Status/Control Register 3 (ePIR_SC3).
⢠Wait until the ANA0 Scan Request bit is cleared by the Engine.
⢠Read the ADC conversion result from the PIR ADC Result Value register.
Note: Even though the ADC Result Value is a 16 bitregister, atomic operations are not required since the value is only
updated at the request of the application.
Table 15. PIR Version
(ePIR_Version)
Bit
7
6
5
4
3
2
1
0
Field
Version
Control
Read
Address
10CH
Version (Bits 0â7)
PIR Engine software version; controlled by the PIR Engine.
⢠The value stored in this register indicates the software version of the PIR Engine.
Value
PIR Engine Software Version
11h
2.00
PS028806-0315
Standard API Register Set
|
▷ |