|
|
|
Component
Init_IIC for HC08
Inter-IC Bus (IIC)
Device Initialization
(Description of the component parameters.)
-
Device - Selection of the IIC device module.
-
Settings - Common IIC module settings.
-
Clock settings - Clock/timing settings of the module.
-
Prescaler - The property sets Baud rate of module.
HC908LD64, HC908LK24, HC908BD48 - Device MMIIC: This item modifies the MMBR[2:0] bits in the MIMCR register.
HC908LD64, HC908BD48 - Device DDC12AB: This item modifies the BR[2:0] bits in the DDCMCR register.
HC908SR12, HC908AP64: This item modifies the MMBR[2:0] bits in the MMFDR register.
-
Baud rate - IIC communication speed (for information only).
This item is influenced by the following properties: Prescaler.
-
Transfer direction - The property determines the transfer direction of the data bytes that follows.(Only in master mode)
HC908LD64, HC908LK24, HC908BD48 - Device MMIIC: This item modifies the MMRW bit in the MIMCR register.
HC908LD64, HC908BD48 - Device DDC12AB: This item modifies the MRW bit in the DDCMCR register.
HC908SR12, HC908AP64: This item modifies the MMRW bit in the MMCR2 register.
-
Transmit Acknowledge - The property enables/disables acknowledge signal sending at 9th clock bit after receiving 8 data bits.
HC908LD64, HC908LK24, HC908BD48 - Device MMIIC: This item modifies the MMTXAK bit in the MMCR register.
HC908LD64, HC908BD48 - Device DDC12AB: This item modifies the TXAK bit in the DDCCR register.
HC908SR12, HC908AP64: This item modifies the MMTXAK bit in the MMCR1 register.
-
Address - The property sets specific slave address in slave mode or the calling address when in master mode.
HC908LD64, HC908BD48 - Device MMIIC: This item modifies the MMAD[7:1] bits in the MMADR register.
HC908LD64, HC908BD48 - Device DDC12AB: This item modifies the DAD[7:1] bits in the DDCADR register.
HC908SR12, HC908AP64, HC908LK24: This item modifies the MMAD[7:1] bits in the MMADR register.
-
Settings supported for HC908BD48, HC908LD64 derivatives only.
-
DDC protocol - The property enable/disable the DDC protocol.
This item is influenced by the following properties: Device. This item modifies the DDC1EN bit in the DDCCR register.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Second slave address - The property sets second slave address for the DDC2BI protocol..
This item is influenced by the following properties: Device.
This item modifies the D2AD[7:1] bits in the DDC2ADR register.
-
Expanded address - The property enable/disable expand the address in slave mode.
HC908LD64, HC908BD48 - Device MMIIC: This item modifies the MMEXTAD bit in the MMADR register.
HC908LD64, HC908BD48 - Device DDC12AB: This item modifies the EXTAD bit in the DDCADR register.
HC908SR12, HC908AP64, HC908LK24: This item modifies the MMEXTAD bit in the MMADR register.
-
Pins - Module pins/signals settings
-
Interrupts - Interrupts settings of module.
-
Interrupt - Interrupt vector (for information only)
-
IIC module Interrupt - Enable/disable IIC module interrupt.
HC908LD64, HC908LK24, HC908BD48 - Device MMIIC: This item modifies the MMIEN bit in the MMCR register.
HC908LD64, HC908BD48 - Device DDC12AB: This item modifies the DIEN bit in the DDCCR register.
HC908SR12, HC908AP64: This item modifies the MMIEN bit in the MMCR1 register.
-
Settings supported for HC908BD48, HC908LD64 derivatives only.
-
SCL Interrupt - Enable/disable SCL Interrupt.
This item is influenced by the following properties: Device.
HC908LD64, HC908BD48 - Device DDC12AB: This item modifies the SCLIEN bit in the DDCCR register.
-
ISR name - Name of the interrupt service routine (ISR) invoked by this interrupt vector.
The user code of the routine should handle all respective interrupt flags correctly.
-
Initialization - Initialization options of the module.
-
Enable IIC module - The property Enable/Disable Bus module.
HC908LD64, HC908LK24, HC908BD48 - Device MMIIC: This item modifies the MMEN bit in the MMCR register.
HC908LD64, HC908BD48 - Device DDC12AB: This item modifies the DEN bit in the DDCCR register.
HC908SR12, HC908AP64: This item modifies the MMEN bit in the MMCR1 register.
|