Download mikroPascal PRO - MikroElektronika
Transcript
mikroPascal PRO for dsPIC30/33 and PIC24 Soft_I2C_Init Prototype procedure Soft_I2C_Init(); Description Configures the software I²C module. Parameters None. Returns Nothing. Requires Global variables: - Soft_I2C_Scl: Soft I²C clock line - Soft_I2C_Sda: Soft I²C data line - Soft_I2C_Scl_Pin_Direction: Direction of the Soft I²C clock pin - Soft_I2C_Sda_Pin_Direction: Direction of the Soft I²C data pin must be defined before using this function. Example // Software I2C connections var Soft_I2C_Scl : sbit Soft_I2C_Sda : sbit Soft_I2C_Scl_Direction : sbit Soft_I2C_Sda_Direction : sbit // End Software I2C connections ... Soft_I2C_Init(); Notes None at at at at RF3_bit; RF2_bit; TRISF3_bit; TRISF2_bit; Soft_I2C_Start Prototype procedure Soft_I2C_Start(); Description Determines if the I²C bus is free and issues START signal. Parameters None. Returns Nothing. Requires Software I²C must be configured before using this function. See Soft_I2C_Init routine. Example // Issue START signal Soft_I2C_Start(); Notes None 450 MikroElektronika
Related documents
mikroC PRO for dsPIC User Manual
RealView Compilation Tools Compiler User Guide
mikroPascal PRO for PIC32 User Manual
User manual - MikroElektronika
Data Sheet - MikroElektronika
Design of a Hands-on Course in Networked Control Systems
LM1095E - topwaydisplay.com
Manual - Digi-Key
mikroC PRO for PIC User Manual v100
mikroC PRO for AVR User`s Manual
mikroC for 8051 User Manual
mikroBasic PRO for AVR User Manual v100