数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST62T35B 数据表(PDF) 51 Page - STMicroelectronics

部件名 ST62T35B
功能描述  8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
PDF  82 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST62T35B 数据表(HTML) 51 Page - STMicroelectronics

Back Button ST62T35B Datasheet HTML 47Page - STMicroelectronics ST62T35B Datasheet HTML 48Page - STMicroelectronics ST62T35B Datasheet HTML 49Page - STMicroelectronics ST62T35B Datasheet HTML 50Page - STMicroelectronics ST62T35B Datasheet HTML 51Page - STMicroelectronics ST62T35B Datasheet HTML 52Page - STMicroelectronics ST62T35B Datasheet HTML 53Page - STMicroelectronics ST62T35B Datasheet HTML 54Page - STMicroelectronics ST62T35B Datasheet HTML 55Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 51 / 82 page
background image
51/82
ST62T35B/E35B
CONTROL REGISTERS (Cont’d)
Status Control Register 4 (SCR4)
Address: E3h - Read/Write/Clear only
Bit7- Bit4 = Reserved, set to 0.
Bit 3 = OVFPOL.
Overflow Output Polarity. This bit
defines the polarity for the Overflow Output OVF.
When 0, OVF is set on every overflow event if en-
abled in Set mode (OVFEN = 1, OVFMD = 0). The
reset state of OVF is 0.
When 1, OVF is reset on every overflow event if
enabled in Set mode.
The reset state of OVF is 1.
Bit 2 = OVFEN.
Overflow Output Enable. This bit
enables the Overflow output OVF. When 0 the
Overflow output is disabled: if OVFPOL = 0, the
state of OVF is 0, if OVFPOL = 1, the state of
OVF = 1.The Overflow Output is enabled when
this bit = 1, it must be set to use the OVF output.
Bit 1 = PWMPOL.
PWM Output Polarity. This bit
defines the polarity for the PWM Output PWM.
When 0, PWM is set on every Masked-Counter
Zero event and is reset on a Masked-Compare if
enabled in Set/Reset mode (PWMEN = 1, PWM-
MD = 0).
The reset state of PWM pin is 0 When 1, OVF is
set on every Masked-Compare event and is reset
on a Masked-Counter Zero event if enabled in
Set/Reset mode (PWMEN = 1, PWMMD = 0).
The reset state of PWM is 1.
Bit 0 = PWMEN.
PWM Output Enable. This bit en-
ables the PWM output PWM. When 0 the PWM
output is disabled: if PWMPOL = 0, the state of
PWM is 0, if PWMPOL = 1, the state of PWM = 1.
The PWM Output is enabled when this bit = 1, it
must be set to use the PWM output.
Notes:
A Masked-Compare is the logical AND of the
Mask Register MASK with the Counter Register
CT, compared with the logical AND of the com-
pare
Register
CMP:
[(MASK
&
CT)
=
(MASK&CMP)].
A Masked-Counter Zero is the logical AND of the
Mask Register MASK with the Counter Register
CT, compared with zero: [(MASK & CT) = 0000h].
4.3.6 16-BIT REGISTERS
Note: Care must be taken when using single-bit
instructions (RES/SET/INC/DEC) 16-bit registers
(RLCP, CP, CMP, MSK) since these instructions
imply a READ-MODIFY-WRITE operation on the
register. As the ST6 is based on a 8-bit architec-
ture, to write a 16-bit register, the high byte must
be written first to an intermediate register (latch
register) and the whole 16-bit register is loaded at
the same time as the low byte is written. A WRITE
operation of the HIGH byte is performed on the in-
termediate register (latch register) but a READ op-
eration of the HIGH byte is directly performed on
the 16-bit register (last loaded value). As a conse-
quence, it is always mandatory to write the LOW
byte before any single-bit instruction on the HIGH
byte in order to load the value set in the intermedi-
ate register to the 16-bit register (refresh the 16-bit
register).
Example:
The following sequence is NOT GOOD:
ldi t16cmph, 055h
ldi t16cmpl, 000h
; t16cm p (16-bit register )=55 00h
ldi t16cmph, 0AAh
; t16cm p (16-bit register )=55 00h
inc t16cmph
; t16cm p (16-bit register )=55 00h
ldi t16cmpl, 000h
; t16cm p (16-bit register )=56 00h
; and NOT AB00h
The CORRECT sequence is:
ldi t16cmph, 055h
ldi t16cmpl, 000h
; t16cm p (16-bit register )=55 00h
ldi t16cmph, 0AAh
; t16cm p (16-bit register )=55 00h
ldi t16cmpl, 000h
; t16cm p (16-bit register )=AA 00h
inc t16cmph
; t16cm p (16-bit register )=AA 00h
ldi t16cmpl, 000h
;t16cmp (16-bit regis ter) =AB0 0h
70
Res.
Res. Res. Res.
OVFPO
L
OVFEN PMPOL
PWME
N
50



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com