參數(shù)資料
型號(hào): CR16HCS9VJE8Y
英文描述: Microcontroller
中文描述: 微控制器
文件頁(yè)數(shù): 83/157頁(yè)
文件大?。?/td> 1256K
代理商: CR16HCS9VJE8Y
第1頁(yè)第2頁(yè)第3頁(yè)第4頁(yè)第5頁(yè)第6頁(yè)第7頁(yè)第8頁(yè)第9頁(yè)第10頁(yè)第11頁(yè)第12頁(yè)第13頁(yè)第14頁(yè)第15頁(yè)第16頁(yè)第17頁(yè)第18頁(yè)第19頁(yè)第20頁(yè)第21頁(yè)第22頁(yè)第23頁(yè)第24頁(yè)第25頁(yè)第26頁(yè)第27頁(yè)第28頁(yè)第29頁(yè)第30頁(yè)第31頁(yè)第32頁(yè)第33頁(yè)第34頁(yè)第35頁(yè)第36頁(yè)第37頁(yè)第38頁(yè)第39頁(yè)第40頁(yè)第41頁(yè)第42頁(yè)第43頁(yè)第44頁(yè)第45頁(yè)第46頁(yè)第47頁(yè)第48頁(yè)第49頁(yè)第50頁(yè)第51頁(yè)第52頁(yè)第53頁(yè)第54頁(yè)第55頁(yè)第56頁(yè)第57頁(yè)第58頁(yè)第59頁(yè)第60頁(yè)第61頁(yè)第62頁(yè)第63頁(yè)第64頁(yè)第65頁(yè)第66頁(yè)第67頁(yè)第68頁(yè)第69頁(yè)第70頁(yè)第71頁(yè)第72頁(yè)第73頁(yè)第74頁(yè)第75頁(yè)第76頁(yè)第77頁(yè)第78頁(yè)第79頁(yè)第80頁(yè)第81頁(yè)第82頁(yè)當(dāng)前第83頁(yè)第84頁(yè)第85頁(yè)第86頁(yè)第87頁(yè)第88頁(yè)第89頁(yè)第90頁(yè)第91頁(yè)第92頁(yè)第93頁(yè)第94頁(yè)第95頁(yè)第96頁(yè)第97頁(yè)第98頁(yè)第99頁(yè)第100頁(yè)第101頁(yè)第102頁(yè)第103頁(yè)第104頁(yè)第105頁(yè)第106頁(yè)第107頁(yè)第108頁(yè)第109頁(yè)第110頁(yè)第111頁(yè)第112頁(yè)第113頁(yè)第114頁(yè)第115頁(yè)第116頁(yè)第117頁(yè)第118頁(yè)第119頁(yè)第120頁(yè)第121頁(yè)第122頁(yè)第123頁(yè)第124頁(yè)第125頁(yè)第126頁(yè)第127頁(yè)第128頁(yè)第129頁(yè)第130頁(yè)第131頁(yè)第132頁(yè)第133頁(yè)第134頁(yè)第135頁(yè)第136頁(yè)第137頁(yè)第138頁(yè)第139頁(yè)第140頁(yè)第141頁(yè)第142頁(yè)第143頁(yè)第144頁(yè)第145頁(yè)第146頁(yè)第147頁(yè)第148頁(yè)第149頁(yè)第150頁(yè)第151頁(yè)第152頁(yè)第153頁(yè)第154頁(yè)第155頁(yè)第156頁(yè)第157頁(yè)
83
www.national.com
until cleared by a STOP condition or a one is
written to it.
Address Match. In slave mode, MATCH is set
when ACBADDR.SAEN is set and the first sev-
en bits of the address byte (the first byte trans-
ferred after a Start Condition) matches the 7-bit
address in the ACBADDR register. It is cleared
by Start Condition, repeated start and Stop
Condition (including illegal Start or Stop Condi-
tion).
Global Call Match bit. In slave mode, GCMTCH
is set when ACBCTL1.GCMEN is set and the
address byte (the first byte transferred after a
Start Condition) is 00
16
. It is cleared by Start
Condition, repeated Start and Stop Condition
(including illegal Start or Stop Condition).
Test SDA Line. Reads the current value of the
SDA line. This bit can be used while recovering
from an error condition in which the SDA line is
constantly pulled low by a slave that went out
of synch. This bit is a read-only bit. Data written
to it is ignored.
Toggle SCL Line. This bit enables toggling the
SCL line during the process of error recovery.
When the SDA line is low, writing 1 to this bit
toggles the SCL line for one cycle. Writing 1 to
TGSCL when SDA is high is ignored. The bit is
cleared when the clock toggle is completed.
MATCH
GCMTCH
TSDA
TGSCL
19.3.4
ACB Control 1 Register (ACBCTL1) is a byte-wide, read/
write register that configures and controls the ACB module.
Upon reset and while the module is disabled (ACBCTL2.EN-
ABLE=0), the ACBCTL1 is cleared (00
16
).
7
6
5
4
STAS-
TRE
ACB Control 1 Register (ACBCTL1)
START
START. This bit is set when a Start Condition
needs to be generated on the ACCESS.bus.
The START bit is cleared when the Start Con-
dition is sent, or upon detection of a Bus Error
(ACBST.BER=1). This bit should be set only
when in Master mode, or when requesting
Master mode.
If this device is not the active master of the bus
(ACBST.MASTER=0), setting START gener-
ates a Start Condition as soon as the
ACCESS.bus is free (ACBCST.BB=0). An ad-
dress send sequence should then be per-
formed.
If this device is the active master of the bus
(ACBST.MASTER=1), when START is set, a
write to the ACBSDA register generates a Start
Condition, then the ACBSDA data is transmit-
ted as the slave’s address and the requested
transfer direction.
This case is a repeated Start Condition. It may
be used to switch the direction of the data flow
between the master and the slave, or to choose
another slave device without using a Stop Con-
dition in between.
STOP
STOP. In master mode, setting this bit gener-
ates a Stop Condition that completes or aborts
the current message transfer. This bit clears it-
self after the STOP is issued.
Interrupt Enable. When INTEN is cleared ACB
interrupt is disabled. When INTEN is set, inter-
rupts are enabled. An interrupt is generated
(the interrupt signals to the ICU is high) upon
one of the following events:
An address MATCH is detected (ACB-
ST.NMATCH=1) and NMINTE is set.
A Bus Error occurs (ACBST.BERR=1).
Negative acknowledge after sending a byte
(ACBST.NEGACK=1).
An interrupt is generated upon acknowl-
edge of each transaction (same as the
hardware set of the ACBST.SDAST bit).
In master mode if ACBCTL1.STASTRE=1,
after a successful start (ACBST.STAS-
TR=1).
Detection of a Stop Condition while in slave
receive mode (ACBST.SLVSTP=1).
Acknowledge bit. When acting as a receiver
(slave or master), this bit holds the value this
device sends during the next acknowledge cy-
cle. Setting this bit to 1 instructs the transmit-
ting device to stop sending data, since the
receiver either does not need, or cannot re-
ceive, any more data. This bit is cleared after
the first acknowledge cycle.
This bit is ignored when in transmit mode.
Global Call Match enable. When this bit is set,
it enables the match of an incoming address
byte to the general call address (Start Condi-
tion followed by address byte of 00
16
) while the
ACB is in slave mode. When cleared, the ACB
does not respond to a global call.
New Match Interrupt Enable. Set NMINTE to
enable the interrupt on a new match (i.e., when
ACBST.NMATCH is set). The interrupt is is-
sued only if ACBCTL1.INTEN is set.
Stall After Start Enable. When set enables the
stall after start mechanism. In such a case, the
ACB is stalled after the address byte. When
STASTRE is cleared, ACBST.STASTR is al-
ways cleared.
INTEN
ACK
GCMEN
NMINTE
STASTRE
19.3.5
The ACB Control 2 register (ACBCTL2) is a byte-wide, read/
write register that enables/disables the module and deter-
mines ACB clock rate. Upon reset ACBCTL2 is set to 00
16
.
7
SCLFRQ
ACB Control 2 Register (ACBCTL2)
ENABLE
Enable. When this bit is set, the ACB module is
enabled. When the Enable bit is cleared, the
ACB module is disabled, ACBCTL1, ACBST
and ACBCST are cleared, and the clocks are
halted.
SCL Frequency. This field defines the SCL’s
period (low time and high time) when this de-
SCLFRQ
3
2
1
0
NMINTE
GCMEN ACK Reserved INTEN
STOP
START
1
0
ENABLE
相關(guān)PDF資料
PDF描述
CR16HCT5
CR16HCT5VJE7Y Microcontroller
CR16HCT5VJE8Y Microcontroller
CR16HCT5VJE9Y Microcontroller
CR16HCT9
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
CR16HCS9VJE9 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16HCS9VJI0 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16HCS9VJI1 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16HCS9VJI2 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16HCS9VJI3 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers