Fujitsu MB90420/5 (A) Series Hardware Manual page 222

F2mc-16lx family 16-bit microcontrollers
Table of Contents

Advertisement

MB90420/5 (A) SERIES F
• Cording example
PDR0
EQU
PDR1
EQU
DDR0
EQU
DDR1
EQU
;-------------- Main program ----------------------------------------------------
CODE
START:
MOV
MOV
MOV
MOV
CODE
;-------------------------------------------------------------------------------------
END
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
000000
H
000001
H
000010
H
000011
H
CSEG
I:PDR1, #00000000
B
I:DDR1, #11111111
B
I:PDR0, #11111111
B
I:DDR0, #11111111
B
ENDS
START
; Initialized
; PI0 set to L level #XXXXXXXO
; All bits for port 1 pins set to output
; All bits for port 0 = 1
; All bits for port 0 pins set to output
8-52
B

Advertisement

Table of Contents
loading

Table of Contents