Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

Z8FS040 Datasheet(PDF) 22 Page - Zilog, Inc.

Part # Z8FS040
Description  ZMOTION Detection and Control Family Featuring Zilog?셲 PIR Technology
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ZILOG [Zilog, Inc.]
Direct Link  http://www.zilog.com
Logo ZILOG - Zilog, Inc.

Z8FS040 Datasheet(HTML) 22 Page - Zilog, Inc.

Back Button Z8FS040 Datasheet HTML 18Page - Zilog, Inc. Z8FS040 Datasheet HTML 19Page - Zilog, Inc. Z8FS040 Datasheet HTML 20Page - Zilog, Inc. Z8FS040 Datasheet HTML 21Page - Zilog, Inc. Z8FS040 Datasheet HTML 22Page - Zilog, Inc. Z8FS040 Datasheet HTML 23Page - Zilog, Inc. Z8FS040 Datasheet HTML 24Page - Zilog, Inc. Z8FS040 Datasheet HTML 25Page - Zilog, Inc. Z8FS040 Datasheet HTML 26Page - Zilog, Inc. Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 56 page
background image
ZMOTION
TM Detection and Control Family
Product Specification
PS028506-1110
PRELIMINARY
17
Zilog’s PIR Technology and API
General Operation
The ZMOTION
TM MCU Series is based on the Z8 Encore! XP® Z8F082A MCU with the added
functionality of a motion detection engine (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. It operates in the
background and is controlled and monitored through 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:
1. Standard API registers: It includes all of the status and control functions needs for most
applications. These include sensitivity control, motion detection/direction status and
operational modes.
2. Advanced API registers: It provides 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 1 second time base for the PIR engine to perform
house keeping 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 through 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 S/W to execute these Macro’s at the appropriate time.
EPIR_INIT Macro
This macro is executed to initialize the PIR engine after reset. It is normally 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, and
then execute this Macro. ADC conversions are started by this macro.
EPIR_INIT Macro:
PUSHX
RP
LDX
RP, #%E0
CALL
%1FFD
POPX
RP
CPU Cycles: 261
Peripherals Initialized:
ADC and GPIO depending on API selected options. ADC IRQ set for medium priority.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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