gonzui


Format: Advanced Search

mtkernel_3/config/config_device.hbare sourcepermlink (0.02 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    Device Driver for micro T-Kernel for μT-Kernel 3.00.05
    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/11.
   10:  *
   11:  *----------------------------------------------------------------------
   12:  */
   13: 
   14: 
   15: /*
   16:  *      config_device.h
   17:  *      Device configuration definition
   18:  */
   19: 
   20: #ifndef __DEV_CONFIG_H__
   21: #define __DEV_CONFIG_H__
   22: 
   23: /* ------------------------------------------------------------------------ */
   24: /* Device usage settings
   25:  *      1: Use   0: Do not use
   26:  */
   27: 
   28: #define DEVCNF_USE_SER          1               // Serial communication device 
   29: #define DEVCNF_USE_ADC          1               // A/D conversion device
   30: #define DEVCNF_USE_IIC          1               // I2C communication device
   31: 
   32: #endif  /* __DEV_CONFIG_H__ */