Hi Rob,

I've detected a mismatch of the register name in PC18F46J11 and probably
other.
SSP1CON1 is named SSP1CON. Not a real problem util trying to use
i2c_hardware library
with I2C1 or with I2C2 when I2C definition must be changed.
This is creating confusions. I think Microchip names should be kept.

Some other lines must be added for i2c1 initialization routine as:

--------------------------------------------------------
-- i2c definition
--------------------------------------------------------
alias i2c_scl            is pin_c3                   ; optional
alias i2c_scl_direction  is pin_c3_direction ; optional
alias i2c_sda            is pin_c4                  ; optional
alias i2c_sda_direction  is pin_c4_direction ; optional
alias pin_scl_direction  is pin_scl1_direction
alias pin_sda_direction  is pin_sda1_direction
;alias sspcon             is ssp1con1 ; SSP1con1 named SSPCON in
18F44J11.jal
;alias sspstat            is ssp1stat ; already defined in 18F44J11.jal
;alias sspcon2            is ssp1con2 ; already defined in 18F44J11.jal
alias pir1_sspif         is pir1_ssp1if

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to