gonzui


Format: Advanced Search

mtkernel_3/device/i2c/sysdepend/rx231/i2c_cnf_rx231.hbare sourcepermlink (0.02 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    Device Driver for micro T-Kernel
    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/03/31.
   10:  *
   11:  *----------------------------------------------------------------------
   12:  */
   13: 
   14: /*
   15:  *      i2c_cnf_rx231.h 
   16:  *      I2C device configuration file
   17:  *              for RX231
   18:  */
   19: #ifndef __DEV_I2C_CNF_RX231_H__
   20: #define __DEV_I2C_CNF_RX231_H__
   21: 
   22: /* Device initialization */
   23: #define DEVCONF_I2C_INIT_MSTP   FALSE             // Initialize module stop
   24: #define DEVCONF_I2C_INIT_PIN    FALSE              // Initialize I/O pin
   25: 
   26: /* Frequency selection (0-7)  ICMR1.CKS */
   27: #define DEVCNF_I2C_CKS          1
   28: 
   29: /* Interrupt priority */
   30: #define DEVCNF_I2C_INTPRI       5
   31: 
   32: /* Communication timeout time */
   33: #define DEVCNF_I2C_TMO          1000
   34: 
   35: #endif          /* __DEV_I2C_CNF_RX231_H__ */