gonzui


Format: Advanced Search

mtkernel_3/device/include/device.hbare sourcepermlink (0.01 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    Device Driver for micro T-Kernel for μT-Kernel 3.0
    4:  *
    5:  *    Copyright (C) 2020-2021 by Ken Sakamura.
    6:  *    This software is distributed under the T-License 2.2.
    7:  *----------------------------------------------------------------------
    8:  *
    9:  *    Released by TRON Forum(http://www.tron.org) at 2021/05/17.
   10:  *
   11:  *----------------------------------------------------------------------
   12:  */
   13: 
   14: /*
   15:  *      device.c
   16:  *      Device driver definition for User program
   17: */
   18: 
   19: #ifndef __DEVINC_DEVICE_H__
   20: #define __DEVINC_DEVICE_H__
   21: 
   22: #include <config_device.h>
   23: 
   24: #if USE_SDEV_DRV                /* Use Sample device driver */
   25: 
   26: #if DEVCNF_USE_SER              /* Use Serial communication device */
   27: #include "dev_ser.h"
   28: #endif  /* DEVCNF_USE_SER */
   29: 
   30: #if DEVCNF_USE_ADC              /* Use A/D conversion device */
   31: #include "dev_adc.h"
   32: #endif  /* DEVCNF_USE_ADC */
   33: 
   34: #if DEVCNF_USE_IIC              /* Use I2C communication device */
   35: #include "dev_i2c.h"
   36: #endif  /* DEVCNF_USE_IIC */
   37: 
   38: #endif  /* USE_SDEV_DRV */
   39: #endif  /* __DEVINC_DEVICE_H__ */