cy22393.h

来自「Freescale MCF5445evb 参考测试代码」· C头文件 代码 · 共 42 行

H
42
字号
/*!  * \file    cy22393.h * \brief   Cypress Clock Generator Driver *  * This driver uses the I2C bus to communicate with the Cypress CY22393. All * writes to the CY22393 are volatile.  A device reset will revert the clock * outputs to the state defined in the non-volatile memory of the CY22393. * * \author  Michael Norman * \version $Revision: 1.1 $ *//********************************************************************/#define CY22393_RD_ADDR     ((0x69 << 1) | 1)#define CY22393_WR_ADDR     ((0x69 << 1) | 0)typedef enum {    CY22393_CLKA,    CY22393_CLKB,    CY22393_CLKC,    CY22393_CLKD,    CY22393_CLKE} CY22393_CLK;voidcy22393_init(void);voidcy22393_read(int, uint8*, int);voidcy22393_write(int, uint8*, int);voidcy22393_dump(void);voidcy22393_disable_clk(CY22393_CLK);/********************************************************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?