David Giles
/
CM-MBED_RSEDP_Test_Suite_LPC1768_V3
This is a complete listing of the RS-EDP software for the mbed module to support the RS-EDP platform.
Diff: HeaderFiles/RSEDP_DIO_PCA9555_Serial_Digital_IO.h
- Revision:
- 0:5b7639d1f2c4
diff -r 000000000000 -r 5b7639d1f2c4 HeaderFiles/RSEDP_DIO_PCA9555_Serial_Digital_IO.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HeaderFiles/RSEDP_DIO_PCA9555_Serial_Digital_IO.h Fri Nov 19 09:49:16 2010 +0000 @@ -0,0 +1,14 @@ +/* Header files for Digital I/O Serial Latches */ +/* ******************************************* */ + + +/* Function Prototypes Here */ +sint32_t RSEDP_DIO_setup_PCA9555(uint8_t Slave_Address, uint8_t Port0_IO_Direction,uint8_t Port1_IO_Direction); +/* Setup the device I/O Direction */ + +sint32_t RSEDP_DIO_PCA9555_Write_Word(uint8_t Slave_Address, uint8_t Port0_Payload, uint8_t Port1_Payload); +/* Write to the I/O pins */ + +sint32_t RSEDP_DIO_PCA9555_Read_Data(uint8_t Slave_Address, uint8_t *Port0_Data, uint8_t*Port1_Data); +/* Read data on the input pins */ +