Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: i2c_mbed_fpga.h
- Revision:
- 0:fe3c7dde9771
- Child:
- 5:daab0e0e67e2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/i2c_mbed_fpga.h Fri Dec 04 14:23:17 2020 +0000 @@ -0,0 +1,17 @@ +#ifndef I2C_MBED_FPGA_H +#define I2C_MBED_FPGA_H + +#define i2c_slave_addr 0x18<<1 + +extern char i2cKey[4]; +extern char CtrPortWactive[4]; +extern char CtrPortRactive[4]; + +//Funtion delclarations +int i2c_word_write(I2C i2c_master, char *word); +int i2c_word_read(I2C i2c_master, char *word); +int i2c_keyEntry(I2C i2c_master); +int ctrPort_WriteActive(I2C i2c_master); +int ctrPort_ReadActive(I2C i2c_master); + +#endif \ No newline at end of file