NEC PD754144 User Manual page 172

4-bit single-chip microcontrollers
Table of Contents

Advertisement

BR
CALL
BR
SEND_END :
; <subroutine>
GET_DATA:
SKT
MOV
MOV
MOV
RET
SEND_D_0 :
LOOP_1ST : SKTCLR IRQT1
BR
RET
SEND_D_1 :
CLR1
LOOP_2ND : SKTCLR IRQT1
LOOP_3RD : SKTCLR IRQT1
172
CHAPTER 6 PERIPHERAL HARDWARE FUNCTION
SEND_1_F
!SEND_D_1
SEND_1_F
BSB0.@L
A, #0
A, #1
H, A
LOOP_1ST
NRZB
BR
LOOP_2ND
CLR1
NRZB
BR
LOOP_3RD
RET
User's Manual U10676EJ3V0UM
; If data is 0, proceeds to transmission processing of next
data with PTO2 pin outputting low level
;
Completes transmission of 16 bits of data
; Searches data of BSB indicated by @L. Sets value to H
register
; Processing to set carrier output of data 0 and 1 and first low
level output
; Waits for carrier output
; Starts output of first low level
; Sets second low level output if data is 1
; Waits for first low level output
; Starts second low level output
; Sets third low level output
; Waits for second low level output
; Starts third low level output

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd754244

Table of Contents