Samsung SAM88RCRI S3C9442 Manual page 136

Table of Contents

Advertisement

BASIC TIMER and TIMER 0
+ +
PROGRAMMING TIP1 – Configuring Timer 0 (Interval Mode) (Continued)
LED_DISPLAY:
NOP
RET
JOB:
NOP
RET
;--------------<< Interrupt Service Routines >>
INT_9454:
TM
JR
TM
JP
NEXT_CHK1:
IRET
INT_TIMER0:
AND
IRET
END
10-12
T0CON,#00000010B
Z,NEXT_CHK1
T0CON,#00000001B
NZ,INT_TIMER0
T0CON,#11110110B
S3C9442/C9444/F9444/C9452/C9454/F9454
;
;
;
;
;
;
;
;
;
;
; Interrupt enable check
;
; If timer 0 interrupt was occurred,
; T0CON.0 bit would be set.
; Interrupt enable bit and pending bit check
;
;
;
; Timer 0 interrupt service routine
;
Pending bit clear
;
;

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sam88rcri s3c9444Sam88rcri s3c9452Sam88rcri s3c9454

Table of Contents