CY8CKIT-040 PSoC
®
4000 Pioneer Kit Guide, Doc. # 001-91316 Rev. *F
91
Code Examples
Scan Proximity
Sensor
Is it active?
Scan Gang Sensor
No
Mode = PROX_SCAN
and exit sleep scan
Yes
End of loop
A
Scan all sensors
including Prox
Is Prox Active?
Mode = SLEEP_SCAN
and Enter Sleep Scan
No
End of loop
Is Any Sensor
Active?
Yes
Update PrISM
duty based on
previous color
and proximity
distance
Mode = ACTIVE
Yes
End of loop
No
B
Is it active?
Mode = ACTIVE
and Exit sleep scan
Yes
Sleep
No
Содержание CY8CKIT-040 PSoC 4000 Pioneer Kit
Страница 20: ...CY8CKIT 040 PSoC 4000 Pioneer Kit Guide Doc 001 91316 Rev F 20 Kit Operation...
Страница 37: ...CY8CKIT 040 PSoC 4000 Pioneer Kit Guide Doc 001 91316 Rev F 37 Hardware...
Страница 73: ...CY8CKIT 040 PSoC 4000 Pioneer Kit Guide Doc 001 91316 Rev F 73 Code Examples Raw count and Baseline...