📄 cy22393.h
字号:
/*! * \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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -