i2c_hw_slave_msg

i2c hardware slave Message Interface

Author Sebastien Lelong, Joep Suijs, Copyright © 2008-2009, all rights reserved.
Adapted-by
Compiler >=2.4i

Description

this library provides an message interface to i2c hardware slave. 
It relies on the jalv2 implementation of Microchip Application Note AN734.


                                        
The user needs to supply a procedure to process the received message. 
Basically, this i2c slave waits for a full message to arrive. Then it calls 
the user procedure to process the message and (optional) prepare a response.
Subsequently, this lib will pass the response data over to the master, if 
it wants to have them.
See corresponding sample for more details.




Sources

  - AN734: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en011798


Dependencies


Summary

Global variables/contants

Procedures

Functions


API details

Global variables/contants

Procedures

Functions


Related samples

Here are the list of samples which use this library:

16f72316f723_i2c_hw_slave_msg.jal
16f72316f723_i2c_hw_slave_eeprom_simulator.jal
16f7316f73_i2c_hw_slave_msg.jal
16f7316f73_i2c_hw_slave_eeprom_simulator.jal
16f87716f877_i2c_hw_slave_msg.jal
16f87716f877_i2c_hw_slave_eeprom_simulator.jal
16f877a16f877a_i2c_hw_slave_msg.jal
16f877a16f877a_i2c_hw_slave_eeprom_simulator.jal
16f8816f88_i2c_hw_slave_msg.jal
16f8816f88_i2c_hw_slave_eeprom_simulator.jal
18f14k5018f14k50_i2c_hw_slave_eeprom_simulator.jal
18f14k5018f14k50_i2c_hw_slave_msg.jal
18f252018f2520_i2c_hw_slave_msg.jal
18f252018f2520_i2c_hw_slave_eeprom_simulator.jal
18f255018f2550_i2c_hw_slave_eeprom_simulator.jal
18f255018f2550_i2c_hw_slave_msg.jal
18f262018f2620_i2c_hw_slave_eeprom_simulator.jal
18f262018f2620_i2c_hw_slave_msg.jal
18f45218f452_i2c_hw_slave_msg.jal
18f45218f452_i2c_hw_slave_eeprom_simulator.jal
18f455018f4550_i2c_hw_slave_eeprom_simulator.jal
18f455018f4550_i2c_hw_slave_msg.jal
18f462018f4620_i2c_hw_slave_msg.jal
18f462018f4620_i2c_hw_slave_eeprom_simulator.jal
18f67j5018f67j50_i2c_hw_slave_msg.jal
18f67j5018f67j50_i2c_hw_slave_eeprom_simulator.jal