Fujitsu MB91360 manual Equations

Models: MB91360

1 43
Download 43 pages 1.92 Kb
Page 38
Image 38

STARTERKIT MB91360

Chapter 7 Appendix

EQUATIONS

; -----------------------------------------------------------------------

;Power-on Indicator (Flip-Flop) :

;-----------------------------------------------------------------------

PONFLAG.CLKF = RESETIN

; Power-on-Flag ist 0 at Pon ; otherwise 1

PONFLAG := 1

 

; -----------------------------------------------------------------------

;Equations for Modes (Reset-States) :

;-----------------------------------------------------------------------

; --------------------

> LEDRED is indicating the Monitor-Reset state, if

LEDRED

= USERRES * FLASHRES * /MONRES

; Mon-reset button pressed

 

+ /DTR

 

; or uart-reset (DTR line low)

 

+ (/PONFLAG * /DEFAULT)

; or Power-on (Default-Mode=Mon)

 

+ /LEDGRN * /LEDYEL

; (hold-condition)

; --------------------

> LEDGRN is indicating the User-Reset state, if

LEDGRN

= /USERRES * FLASHRES * MONRES

; User-Reset button pressed

 

+ (A20 * /A19 * /CS2)

; or Remote-User-reset request

 

+ /LEDYEL * /LEDRED

; (hold-condition)

; --------------------

> LEDYEL is indicating the Flash-Reset state, if

LEDYEL

= USERRES * /FLASHRES * MONRES

; Flash-Reset button pressed

 

+ (/PONFLAG * DEFAULT)

; or Power-on (Default-Mode=Flash)

 

+ /LEDGRN * /LEDRED

; (hold-condition)

MODE = LEDGRN

; Mode-Pin (MD0) is 1, if User-Reset state, otherwise 0

PG5 = LEDYEL

; Flash-Ind-Pin is 1, if Flash-Reset state, otherwise 0

UARTRES = /RESETIN * LEDRED ; UART-reset only if Monitor-Reset

; -----------------------------------------------------------------------

;Reset-Request : Toggles the Masterreset-input (MAX811), if

;-----------------------------------------------------------------------

/MASTRES = ((/MONRES

+ /USERRES +

/FLASHRES) *

RESETIN) ;

Buttons pressed

+ (( LEDGRN

* /A19 * A20

) * RESETIN)

;

or Rem-Request

+ ((/DTR )

* RESETIN)

 

;

or DTR low

; -----------------------------------------------------------------------

;Memory-Mapping Equations :

;-----------------------------------------------------------------------

UG-910006-13

- 38 -

© Fujitsu Microelectronics Europe GmbH

Page 38
Image 38
Fujitsu MB91360 manual Equations