?? accelerometer.h
字號:
/*
*********************************************************************************************************
* uC/OS-II
* The Real-Time Kernel
*
* (c) Copyright 2004, Micrium, Weston, FL
* All Rights Reserved
*
*
* BOARD SUPPORT PACKAGE (BSP)
* Frescale MCF51QE
*
* File : accelerometer.c
* By : Eric Shufro
*********************************************************************************************************
*/
#ifndef ACCELEROMETER_H
#define ACCELEROMETER_H
/*
*********************************************************************************************************
* CONSTANTS
*********************************************************************************************************
*/
#define ATC_RD_X (1) /* Read the X axis */
#define ATC_RD_Y (8) /* Read the Y axis */
#define ATC_RD_Z (9) /* Read the Z axis */
/*
*********************************************************************************************************
* PROTOTYPES
*********************************************************************************************************
*/
void Accelerometer_Init(void);
CPU_INT16U Accelerometer_Rd(CPU_INT08U channel);
#endif /* End of file */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -