beautypg.com

Apc5830, Aplus integrated circuits inc – Rainbow Electronics APC5830 User Manual

Page 6

background image

APLUS INTEGRATED CIRCUITS INC.

APC5830

www.aplusinc.com.tw

TEL : 886-2-2782-9266

6

T

IMER

IRQ

T

IMER

_A

INT

FLAG

1

1

………..

T

IMER

_A

INT

1

0

……….

F

IX

_T

IMER

INT

1

X

……….

NO

T

IMER

INT

BIT - 4

NO USE

BIT - 5

OK

FLAG

(C

OPROCESSOR

OK)

BIT - 6

C

OPROCESSOR CARRY

.

BIT - 7

T

ONE

0

OR TONE

1

ENABLE

.

z

3FE0 System control 0. Write only. :

3FE0

0 1

BIT - 0

MUST

0

=

PA14,PA15

ARE

IO

PINS

(

DEFAULT

).

BIT - 1

PB9

IS

IO

PIN

(

DEFAULT

). PB9

IS

EXTIRQ

PIN

.

BIT - 2

PB7

IS

IO

PIN

(

DEFAULT

). PB7

IS

EXTRAMCS.

BIT - 3

ADC

DISABLE

,

PA13

IS

IO

PIN

(

DEFAULT

).

ADC

ENABLE

,

PA13

IS

ADC

PIN

.

BIT - 4

NO USE

(

MUST

0)

BIT - 5

NO USE

(

MUST

0)

BIT - 6

PWM

DISABLE

(

DEFAULT

). PWM

ENABLE

.

BIT - 7

DAC

DISABLE

(

DEFAULT

). DAC

ENABLE

.


z

3FE1 System Control 1. Write only.

3FE1

0 1

BIT - 0

T

IMER

A

CLOCK SELECT

32.768

K

H

Z

.(

DEFAULT

)

T

IMER

A

CLOCK SELECT SYSTEM

CLOCK

.

BIT - 1

NO USE

(

MUST

0)

BIT - 2

T

IMER

A

DISABLE

.(

DEFAULT

) T

IMER

A

ENABLE

.

BIT - 3

T

IMER

B

DISABLE

.(

DEFAULT

) T

IMER

B

ENABLE

.

BIT - 4

T

IMER

A

INTERRUPT

DISABLE

.(

DEFAULT

)

T

IMER

A

INTERRUPT ENABLE

.

BIT - 5

T

IMER

B

NMI

DISABLE

.(

DEFAULT

)

T

IMER

B

NMI

ENABLE

.

BIT - 6

S

YSTEM CLOCK

=

PLL

CLOCK

(

DEFAULT

).

S

YSTEM CLOCK

=

32768H

Z

.

BIT - 7

W

ATCHDOG TIMER DISABLE

.

W

ATCHDOG TIMER

ENABLE

.(

DEFAULT

)