mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-16 15:08:15 +08:00
88 lines
2.0 KiB
C
88 lines
2.0 KiB
C
/**
|
|
******************************************************************************
|
|
* @file micokit_ext.h
|
|
* @author William Xu
|
|
* @version V1.0.0
|
|
* @date 8-May-2015
|
|
* @brief micokit st mems extension board peripherals operations..
|
|
******************************************************************************
|
|
* UNPUBLISHED PROPRIETARY SOURCE CODE
|
|
* Copyright (c) 2016 MXCHIP Inc.
|
|
*
|
|
* The contents of this file may not be disclosed to third parties, copied or
|
|
* duplicated in any form, in whole or in part, without the prior written
|
|
* permission of MXCHIP Corporation.
|
|
******************************************************************************
|
|
*/
|
|
|
|
#ifndef __MICOKIT_STMEMS_H_
|
|
#define __MICOKIT_STMEMS_H_
|
|
|
|
#include "common.h"
|
|
|
|
//------------------------- MiCOKit STmems board modules drivers ------------------
|
|
#include "rgb_led/P9813/rgb_led.h"
|
|
#include "display/VGM128064/oled.h"
|
|
#include "motor/dc_motor/dc_motor.h"
|
|
#include "keypad/gpio_button/button.h"
|
|
|
|
#include "sensor/HTS221/hts221.h"
|
|
#include "sensor/LPS25HB/lps25hb.h"
|
|
#include "sensor/UVIS25/uvis25.h"
|
|
#include "sensor/LSM9DS1/lsm9ds1.h"
|
|
#include "sensor/light_adc/light_sensor.h"
|
|
|
|
|
|
/** @addtogroup MICO_Drivers_interface
|
|
* @{
|
|
*/
|
|
|
|
|
|
/** @defgroup MiCOKit_STmems_Driver MiCOKit STmems Driver
|
|
* @brief Provide device driver interface for MiCOKitSTmems board
|
|
* @{
|
|
*/
|
|
|
|
/** @addtogroup MiCOKit_STmems_Driver
|
|
* @{
|
|
*/
|
|
|
|
/** @defgroup MiCOKit_STmems_Init MiCOKit STmems Init
|
|
* @brief Provide init api for MiCOKit STmems board
|
|
* @{
|
|
*/
|
|
|
|
//--------------------------- MiCOKit STmems board info ---------------------------
|
|
#define MICOKIT_STMEMS_MANUFACTURER "MXCHIP"
|
|
#define MICOKIT_STMEMS_NAME "MiCOKit-STmems"
|
|
|
|
#define MFG_TEST_MAX_MODULE_NUM 8
|
|
|
|
|
|
|
|
/**
|
|
* @brief MiCOKit STmems board initialization
|
|
*
|
|
* @return kNoErr : on success.
|
|
* @return kGeneralErr : if an error occurred
|
|
*/
|
|
OSStatus micokit_STmems_init(void);
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
#endif // __MICOKIT_STMEMS_H_
|