ST72344S4 STMicroelectronics, ST72344S4 Datasheet - Page 196

no-image

ST72344S4

Manufacturer Part Number
ST72344S4
Description
8-bit MCU
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72344S4

Up To 16 Kbytes Program Memory
single voltage extended Flash (XFlash) with readout and write protection, in-circuit and inapplication programming (ICP and IAP). 10K write/erase cycles guaranteed, data retention
256 Bytes Data Eeprom With Readout Protection. 300k Write/erase Cycles Guaranteed, Data Retention
20 years at 55 °C.
Clock Sources
crystal/ceramic resonator oscillators, high-accuracy internal RC oscillator or external clock
5 Power-saving Modes
Slow, Wait, Halt, Auto-wakeup from Halt and Active-halt
16-bit Timer A With
1 input capture, 1 output compares, external clock input, PWM and pulse generator modes
16-bit Timer B With
2 input captures, 2 output compares, PWM and pulse generator modes
Instruction set
12.2.1
Note:
196/247
Illegal opcode reset
In order to provide enhanced robustness to the device against unexpected behavior, a
system of illegal opcode detection is implemented. If a code to be executed does not
correspond to any opcode or prebyte value, a reset is generated. This, combined with the
Watchdog, allows the detection and recovery from an unexpected fault or interference.
A valid prebyte associated with a valid opcode forming an unauthorized combination does
not generate a reset.
Table 83.
Mnemo
ADC
ADD
AND
BCP
BRES
BSET
BTJF
BTJT
CALL
CALLR
CLR
CP
CPL
DEC
HALT
IRET
INC
JP
JRA
JRT
JRF
JRIH
JRIL
JRH
JRNH
Add with Carry
Addition
Logical And
Bit compare A,
Memory
Bit Reset
Bit Set
Jump if bit is false (0) btjf Byte, #3, Jmp1
Jump if bit is true (1)
Call subroutine
Call subroutine
relative
Clear
Arithmetic Compare
One Complement
Decrement
Halt
Interrupt routine
return
Increment
Absolute Jump
Jump relative always
Jump relative
Never jump
Jump if ext. interrupt
= 1
Jump if ext. interrupt
= 0
Jump if H = 1
Jump if H = 0
Illegal opcode detection
Description
A = A + M + C
A = A + M
A = A . M
tst (A . M)
bres Byte, #3
bset Byte, #3
btjt Byte, #3, Jmp1
tst(Reg - M)
A = FFH-A
dec Y
Pop CC, A, X, PC
inc X
jp [TBL.w]
jrf *
H = 1 ?
H = 0 ?
Doc ID 12321 Rev 5
Function/Example
A
A
A
A
M
M
M
M
reg, M
reg
reg, M
reg, M
reg, M
Dst
M
M
M
M
M
Src
ST72344xx ST72345xx
H
H
H
H
0
I
I
N
N
N
N
N
N
N
N
N
N
0
Z
Z
Z
Z
Z
Z
Z
Z
Z
1
Z
C
C
C
C
C
C
C
1

Related parts for ST72344S4