Register Descriptions; I 2 C Control Register - I2Ccr - Holtek HT32F52220 User Manual

32-bit microcontroller with arm cortex-m0+ core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230

Register Descriptions

I
C Control Register – I2CCR
2
This register specifies the corresponding I
Offset:
0x000 (0)
Reset value: 0x0000_2000
31
Type/Reset
23
Type/Reset
15
SEQFILTER
Type/Reset
RW
0 RW
7
ADRM
Type/Reset
RW
0
Bits
Field
[15:14]
SEQFILTER
[13]
COMBFILTEREn
[12]
ENTOUT
[7]
ADRM
[3]
I2CEN
Rev. 1.10
2
C function enable control.
30
29
28
22
21
20
14
13
12
COMBFILTEREn ENTOUT
0 RW
1
RW
6
5
4
Reserved
Descriptions
SDA or SCL Input Sequential Filter Configuration Bits
00: Sequential filter disable
01: 1 PCLK glitch filter
1x: 2 PCLK glitch filter
Note: This setting would affect the frequency of SCL. Detail is described in
I2CSLPGR register.
SDA or SCL Input Combinational Filter Enable Bit
0: Combinational filter Disable
1: Combinational filter Enable
I
2
C Timeout Function Enable Control
0: Timeout Function disabled
1: Timeout Function enabled
This bit is used to enable or disable the I
bit is cleared to 0, the ENTOUT bit will be automatically cleared to 0 by
hardware. It is recommended that users have to properly configure the PSC
and TOUT fields in the I2CTOUT register before the timeout counter starts to
count by setting the ENOUT bit to 1.
Addressing Mode
0: 7-bit addressing mode
1: 10-bit addressing mode
When the I
2
C master/slave module operates in the 7-bit addressing mode, it
can only send out and respond to a 7-bit address and vice versa. When the
I2CEN bit is disabled, the ADRM bit is automatically cleared to 0 by hardware.
I
2
C Interface Enable
0: I
2
C interface disabled
1: I
2
C interface enabled
293 of 366
27
26
Reserved
19
18
Reserved
11
10
Reserved
0
3
2
I2CEN
GCEN
RW
0 RW
0 RW
2
C timeout function. When the I2CEN
25
24
17
16
9
8
1
0
STOP
AA
0 RW
0
November 09, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT32F52220 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ht32f52230

Table of Contents