gonzui


Format: Advanced Search

mtkernel_3/device/i2c/sysdepend/tx03_m367/i2c_cnf_m367.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 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 2020/10/21.
   10:  *
   11:  *----------------------------------------------------------------------
   12:  */
   13: 
   14: 
   15: /*
   16:  *      i2c_cnf_m367.h 
   17:  *      I2C device configuration file
   18:  *              for TX03_M367 (TMPM369FDFG)
   19:  */
   20: #ifndef __DEV_I2C_CNF_M367_H__
   21: #define __DEV_I2C_CNF_M367_H__
   22: 
   23: /* Frequency selection (0-6)  SBIxCR1.SCK */
   24: #define DEVCNF_I2C0_SCK         0
   25: #define DEVCNF_I2C1_SCK         0
   26: #define DEVCNF_I2C2_SCK         0
   27: 
   28: // Interrupt priority
   29: #define DEVCNF_I2C0_INTPRI      5
   30: #define DEVCNF_I2C1_INTPRI      5
   31: #define DEVCNF_I2C2_INTPRI      5
   32: 
   33: /* Communication timeout time */
   34: #define DEVCNF_I2C0_TMO         1000
   35: #define DEVCNF_I2C1_TMO         1000
   36: #define DEVCNF_I2C2_TMO         1000
   37: 
   38: 
   39: #endif          /* __DEV_I2C_CNF_M367_H__ */