EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 494

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 14 Serial interface IICA
www.mcu.com.cn 494 / 703
Figure 14-8 Format of IICA flag register n(IICFn)
Address: 0x40041B52 After reset: 00HR/W
Note
symbol
IICFn
STCFn
STTn clears the flag
0
Release start conditions.
1
The STTn flag could not be cleared while the start condition could be issued.
Clear condition (STCFn=0).
Set condition (STCFn=1).
 due to STTn bit being 1
 the IICEn bit is 0 (stop running).

When the STTn bit is cleared to 0 when the start
condition cannot be issued when the
communication reservation is disabled
(IICRSVn=1) state cannot be issued
IICBSYn
I
2
C-bus status flags
0
The bus release state (the initial state of communication at STCENn=1).
1
Bus communication state (initial state of communication at STCENn=0).
Clear condition (IICBSYn=0).
Set condition (IICBSYn=1).
 condition is detected
 the IICEn bit is 0 (stop running).


Set the IICEn bit when the STCENn bit is 0
STCENn
Initial start allows triggering
0
After the allow run (IICEn=1), the start condition is allowed to be generated by detecting the
stop condition.
1
After the allow run (IICEn=1), the start condition is allowed to be generated without detecting
the stop condition.
Clear condition (STCENn=0).
Set condition (STCENn=1).



Set by command.
IICRSVn
Communication reservation function disable bit
0
Allow communication reservation.
1
Communication reservation is prohibited.
Clear condition (IICRSVn=0).
Set condition (IICRSVn=1).


Set by command.
Note Bit6 and bit7 are read-only bits.
Notice 1 The STCENn bit can only be written when it is stopped (IICEn=0).
2. If the STCENn bit is 1, the bus is considered to be a release state (IICBSYn=0) regardless of the actual bus state,
so in order to avoid the first start condition (STTn=) in the release 1) When destroying other communications, it is necessary
to confirm that there is no third party that is communicating.
3. IICRSVn can only be written when it is stopped (IICEn=0).
Remark 1. STTn: Bit1 of IICA control register n0 (IICCTLn0).
2. IICEn: bit7 of the IICA control register n0 (IICCTLn0).
7
6
5432
1
0
STCFn
IICBSYn
0
0
0
0
STCENn
IICRSVn

Table of Contents

Related product manuals