參數(shù)資料
型號: CR16MCS9VJE8
英文描述: Microcontroller
中文描述: 微控制器
文件頁數(shù): 83/157頁
文件大小: 1256K
代理商: CR16MCS9VJE8
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描述
CR16MCS9VJE8Y Microcontroller
CR16MCT5VJE7Y Microcontroller
CR16HCS5VJE8 Microcontroller
CR16HCS9VJE7Y Microcontroller
CR16HCS9VJE8Y Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
CR16MCS9VJE8/NOPB 功能描述:16位微控制器 - MCU RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時鐘頻率:24 MHz 程序存儲器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT
CR16MCS9VJE80 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16MCS9VJE81 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16MCS9VJE82 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16MCS9VJE83 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers