전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

Z8FS021 데이터시트(PDF) 29 Page - Zilog, Inc.

부품명 Z8FS021
상세설명  Select from an assortment of lenses and pyroelectric sensors to best fit your application
PDF  68 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  ZILOG [Zilog, Inc.]
홈페이지  http://www.zilog.com
Logo ZILOG - Zilog, Inc.

Z8FS021 데이터시트(HTML) 29 Page - Zilog, Inc.

Back Button Z8FS021 Datasheet HTML 25Page - Zilog, Inc. Z8FS021 Datasheet HTML 26Page - Zilog, Inc. Z8FS021 Datasheet HTML 27Page - Zilog, Inc. Z8FS021 Datasheet HTML 28Page - Zilog, Inc. Z8FS021 Datasheet HTML 29Page - Zilog, Inc. Z8FS021 Datasheet HTML 30Page - Zilog, Inc. Z8FS021 Datasheet HTML 31Page - Zilog, Inc. Z8FS021 Datasheet HTML 32Page - Zilog, Inc. Z8FS021 Datasheet HTML 33Page - Zilog, Inc. Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 68 page
background image
PS028806-0315
PIR Engine and API
ZMOTION® Intrusion Detection
Product Specification
21
PIR Engine and API
The ZMOTION MCU Series is developed upon the Z8 Encore! XP-based Z8F082A MCU
with the added functionality of a motion detection (PIR) Engine. The PIR Engine is
located in the upper 4KB area of the 8KB device, leaving 4KB of code space to the user
application. The PIR Engine operates in the background and is controlled and monitored
via an Application Programmer Interface (API). The API is a series of reserved registers
in memory.
There are two sections to the API: Standard API Registers and Advanced API Registers,
as described below.
Standard API Registers.
These registers include all of the status and control functions
required by most applications. These include sensitivity control, motion detection/direc-
tion status and operational modes.
Advanced API Registers.
These registers provide additional control over the PIR Engine
operation and allows it to be configured to support the pyroelectric sensor and lens being
used in the application.
PIR Engine Timer Tick
Bit 7 of PIR Status/Control Register 1 provides a one-second time base for the PIR Engine
to perform housekeeping operations. This bit must be set to 1, once per second by the user
application. The bit is checked and cleared during the EPIR_ADC_ISR routine.
PIR Engine Entry Points
There are two entry points to the PIR Engine that are accessed via two predefined macros
– one is an initialization macro that is used to start the Engine and the other is executed
upon every ADC interrupt. Both macros save and initialize the Register Pointer, perform a
call to the PIR Engine entry point and then restore the Register Pointer before returning
control to the application. It is the responsibility of the application software to execute
these macros at the appropriate time.
EPIR_INIT Macro.
This macro is executed to initialize the PIR Engine after reset. It is nor-
mally only executed once and is used in conjunction with the PIR Engine Enable Register
in the Standard API section. The application should initialize all API registers, write the
PIR Enable Pattern to the PIR Engine Enable Register, then execute this macro. ADC con-
versions are started by this macro.
EPIR_INIT Macro:
PUSHX
RP
LDX
RP, #%E0
CALL
%1FFD
POPX
RP



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com