FXOS8700CQ Auto-sleep with Magnetic threshold trigger

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FXOS8700CQ Auto-sleep with Magnetic threshold trigger

FXOS8700CQ Auto-sleep with Magnetic threshold trigger

*********************************************************************************************************
* This simple example code has been written for the FRDM-KL25Z + FRDM-FXS-MULT2-B
* boards and demonstrates how to use the embedded magnetic threshold detection
* function in conjunction with the auto-wake/sleep mode for reducing current
* consumption of the FXOS8700CQ.
*
* The magnetic threshold is set to 100uT (1000 counts) on the X and Y axis.
* Once this threshold is exceeded, the FXOS8700CQ is waken up and an interrupt
* is generated on the INT1 pin. If the magnetic field is below this threshold
* within the 20ms period, the FXOS8700CQ goes back to sleep mode and also
* generates an interrupt on the INT1 pin.
*********************************************************************************************************

附件
%3CLINGO-SUB%20id%3D%22lingo-sub-1125338%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFXOS8700CQ%E5%B8%A6%E7%A3%81%E9%98%88%E5%80%BC%E8%A7%A6%E5%8F%91%E5%99%A8%E7%9A%84%E8%87%AA%E5%8A%A8%E4%BC%91%E7%9C%A0%E5%8A%9F%E8%83%BD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1125338%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E*********************************************************************************************************%3CBR%20%2F%3E%20*%E6%AD%A4%E7%AE%80%E5%8D%95%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%E6%98%AF%E4%B8%BA%20FRDM-KL25Z%20%2B%20FRDM-FXS-MULT2-B%20%E7%BC%96%E5%86%99%E7%9A%84%3CBR%20%2F%3E*%20%E7%94%B5%E8%B7%AF%E6%9D%BF%E5%B9%B6%E6%BC%94%E7%A4%BA%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%B5%8C%E5%85%A5%E5%BC%8F%E7%A3%81%E9%98%88%E5%80%BC%E6%A3%80%E6%B5%8B%3CBR%20%2F%3E*%20%E4%B8%8E%E8%87%AA%E5%8A%A8%E5%94%A4%E9%86%92%2F%E7%9D%A1%E7%9C%A0%E6%A8%A1%E5%BC%8F%E9%85%8D%E5%90%88%E4%BD%BF%E7%94%A8%EF%BC%8C%E5%8F%AF%E5%87%8F%E5%B0%91%E7%94%B5%E6%B5%81%3CBR%20%2F%3E*%20FXOS8700CQ%20%E7%9A%84%E6%B6%88%E8%80%97%E3%80%82%3CBR%20%2F%3E*%3CBR%20%2F%3E%20*%20%E7%A3%81%E9%98%88%E5%80%BC%E5%9C%A8%20X%20%E8%BD%B4%E5%92%8C%20Y%20%E8%BD%B4%E4%B8%8A%E8%AE%BE%E7%BD%AE%E4%B8%BA%20100uT%EF%BC%881000%20%E4%B8%AA%E8%AE%A1%E6%95%B0%EF%BC%89%E3%80%82%3CBR%20%2F%3E*%20%E4%B8%80%E6%97%A6%E8%B6%85%E8%BF%87%E6%AD%A4%E9%98%88%E5%80%BC%EF%BC%8CFXOS8700CQ%20%E5%B0%B1%E4%BC%9A%E8%A2%AB%E5%94%A4%E9%86%92%EF%BC%8C%E5%B9%B6%E4%BA%A7%E7%94%9F%E4%B8%AD%E6%96%AD%3CBR%20%2F%3E*%20%E5%9C%A8%20INT1%20%E5%BC%95%E8%84%9A%E4%B8%8A%E7%94%9F%E6%88%90%E3%80%82%E5%A6%82%E6%9E%9C%E7%A3%81%E5%9C%BA%E4%BD%8E%E4%BA%8E%E6%AD%A4%E9%98%88%E5%80%BC%3CBR%20%2F%3E*%20%E5%9C%A8%2020ms%20%E6%97%B6%E9%97%B4%E5%86%85%EF%BC%8CFXOS8700CQ%20%E6%81%A2%E5%A4%8D%E7%9D%A1%E7%9C%A0%E6%A8%A1%E5%BC%8F%EF%BC%8C%E5%B9%B6%E4%B8%94%3CBR%20%2F%3E*%20%E5%9C%A8%20INT1%20%E5%BC%95%E8%84%9A%E4%B8%8A%E4%BA%A7%E7%94%9F%E4%B8%AD%E6%96%AD%E3%80%82%3CBR%20%2F%3E%20*********************************************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E
无评分
版本历史
最后更新:
‎10-01-2017 09:24 AM
更新人: