Zilog Z86193 Manual de usuario

Busca en linea o descarga Manual de usuario para Sensores Zilog Z86193. Zilog Z86193 User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 260
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 1 - Z8 Family of Microcontrollers

Copyright ©2008 by Zilog®, Inc. All rights reserved.www.zilog.comUM001604-0108User ManualZ8 Family of MicrocontrollersZ8® CPU

Pagina 2 - Document Disclaimer

Z8® CPUUser ManualUM001604-0108 Z8® CPU Product Overview3Product Development SupportThe Z8® MCU product line is fully supported with a range of cros

Pagina 3 - Revision History

Z8® CPUUser ManualUM001604-0108 Counters and Timers93Figure 87. Prescaler 1 Register ResetFigure 88. Prescaler 0 Reset U U U U U U

Pagina 4 - Table of Contents

Z8® CPUUser ManualUM001604-0108 Counters and Timers94Figure 89. Timer Mode Register Reset 0 0 0 0 0 0 0 0 (% F1; Read/W

Pagina 5 - Table of Contents

Z8® CPUUser ManualUM001604-0108 Interrupts95InterruptsZ8® CPU allows 6 different interrupts from a variety of sources; up to four external inputs, t

Pagina 6

Z8® CPUUser ManualUM001604-0108 Interrupts96See the selected Z8 CPU's product specification for the exact interrupt sources supported.Interrupt

Pagina 7

Z8® CPUUser ManualUM001604-0108 Interrupts97External Interrupt SourcesExternal sources involve interrupt request lines IRQ0–IRQ3. IRQ0, IRQ1, and IR

Pagina 8

Z8® CPUUser ManualUM001604-0108 Interrupts98IRQ3 can be generated from an external source only if Serial In is not enabled. Otherwise, its source is

Pagina 9

Z8® CPUUser ManualUM001604-0108 Interrupts99At sample time the request is transferred to the second flip-flop in Figure 94, that drives the interrup

Pagina 10 - Product Development Support

Z8® CPUUser ManualUM001604-0108 Interrupts100Interrupt Priority Register InitializationThe Interrupt Priority Register (IPR) displayed in Figure 96

Pagina 11 - CPU Product Overview

Z8® CPUUser ManualUM001604-0108 Interrupts101Interrupt Mask Register InitializationThe Interrupt Mask Register individually or globally enables or d

Pagina 12 - Address Space

Z8® CPUUser ManualUM001604-0108 Interrupts102The RAM Protect option is selected at ROM mask submission time or at EPROM program time. If not selecte

Pagina 13 - Address Space

Z8® CPUUser ManualUM001604-0108 Z8® CPU Product Overview4A Z8 CCP Emulator Accessory Kit (Z8CCP00ZAC) is also available and provides an RS-232 cable

Pagina 14 - Working Register Groups

Z8® CPUUser ManualUM001604-0108 Interrupts103IRQ is always cleared to 00h and is read only until the first EI instruction, which enables the IRQ to

Pagina 15

Z8® CPUUser ManualUM001604-0108 Interrupts104The proper sequence for programming the interrupt edge select bits is (assumes IPR and IMR have been pr

Pagina 16

Z8® CPUUser ManualUM001604-0108 Interrupts105To generate a SWI, the appropriate request bit in the IRQ is set as follows:ORIRQ, #NUMBER where the im

Pagina 17 - Error Conditions

Z8® CPUUser ManualUM001604-0108 Interrupts106Figure 100. Effects of an Interrupt on the StackSP Top of StackPC LOW BytePC HIGH ByteFLAGS

Pagina 18

Z8® CPUUser ManualUM001604-0108 Interrupts107Vectored Interrupt Cycle TimingThe interrupt acknowledge cycle time is 24 internal clock cycles and is

Pagina 19

Z8® CPUUser ManualUM001604-0108 Interrupts108longest instruction present in the application program + 2TPC (internal synchronization time).Nesting o

Pagina 20

Z8® CPUUser ManualUM001604-0108 Interrupts109EI ;Enable interrupt mechanism DI ;Disable vectored interrupts.To initiate polled processing, check the

Pagina 21

Z8® CPUUser ManualUM001604-0108 Power-Down Modes110Power-Down ModesIn addition to the standard RUN mode, the Z8® CPU supports two Power-Down modes t

Pagina 22 - Standard Z8 Registers

Z8® CPUUser ManualUM001604-0108 Power-Down Modes111NOP instruction (opcode = FFh) immediately before the STOP instruction (opcode = 6Fh), that is,F

Pagina 23 - Expanded Z8 Registers

Z8® CPUUser ManualUM001604-0108 Power-Down Modes112Stop Mode Recovery RegisterThis register selects the clock divide value and determines the mode o

Pagina 24

Z8® CPUUser ManualUM001604-0108 Address Space5Address SpaceIntroductionZ8® CPU includes the following four address spaces:•The Z8 Standard Register

Pagina 25

Z8® CPUUser ManualUM001604-0108 Power-Down Modes113external clock frequency when this bit is set (D1 = 1). Using this bit together with D7 of PCON h

Pagina 26 - Program Memory

Z8® CPUUser ManualUM001604-0108 Power-Down Modes114If P31, P32, or P33 are to be used for a SMR source, the digital mode of operation must be select

Pagina 27 - External Memory

Z8® CPUUser ManualUM001604-0108 Serial Input/Output115Serial Input/OutputUART IntroductionSome Z8® CPU microcontrollers contain an on-board full-dup

Pagina 28 - External Data Memory

Z8® CPUUser ManualUM001604-0108 Serial Input/Output116UART Bit-Rate GenerationWhen Port 3 Mode Register bit 6 is set to 1, the UART is enabled and T

Pagina 29

Z8® CPUUser ManualUM001604-0108 Serial Input/Output117To configure Z8® CPU for a specific bit rate, appropriate values as determined by the above eq

Pagina 30

Z8® CPUUser ManualUM001604-0108 Serial Input/Output118The bit rate generator is started by setting the Timer Mode Register (TMR) (F1h) bit 1 and bit

Pagina 31 - Clock Control

Z8® CPUUser ManualUM001604-0108 Serial Input/Output119After a full character has been assembled in the receiver’s buffer, SIO Register (F0h), Interr

Pagina 32 - External Clock Divide-By-Two

Z8® CPUUser ManualUM001604-0108 Serial Input/Output120Z8® CPU hardware supports odd parity only, that is enabled by setting the Port 3 Mode Register

Pagina 33 - Oscillator Control

Z8® CPUUser ManualUM001604-0108 Serial Input/Output121T0’s output drives a divide-by-16 counter that in turn generates a shift clock every 16 counts

Pagina 34 - Oscillator Operation

Z8® CPUUser ManualUM001604-0108 Serial Input/Output122UART Reset ConditionsAfter a hardware reset, the SIO Register contents are undefined, and Seri

Pagina 35 - Circuit Board Design Rules

Z8® CPUUser ManualUM001604-0108 Address Space6Registers can be accessed as either 8-bit or 16-bit registers using Direct, Indirect, or Indexed Addre

Pagina 36 - Crystals and Resonators

Z8® CPUUser ManualUM001604-0108 Serial Input/Output123Mode Recovery, Master/Slave selection, and Compare mode. Table 25 contains the pin configurati

Pagina 37 - Figure 19. LC Clock

Z8® CPUUser ManualUM001604-0108 Serial Input/Output124If the associated IRQ3 is enabled, an interrupt is generated. Bit 5 controls the clock phase o

Pagina 38 - LC Oscillator

Z8® CPUUser ManualUM001604-0108 Serial Input/Output125SPI OperationThe SPI is used in one of two modes: either as system slave, or as system master.

Pagina 39 - RC Oscillator

Z8® CPUUser ManualUM001604-0108 Serial Input/Output126sion of the internal system clock if this is used as the SPI clock source. Divide by 2, 4, 8,

Pagina 40 - UM001604-0108 Reset

Z8® CPUUser ManualUM001604-0108 Serial Input/Output127slave modes. While in slave mode, if the RxBUF is not read before the next data stream is rece

Pagina 41

Z8® CPUUser ManualUM001604-0108 Serial Input/Output128Figure 119. SPI LogicSPI Compare Register (SCOMP)SSD0DISKPortTCLKSMRBit ControlSPI ControlSPI

Pagina 42 - Figure 22. Reset Timing

Z8® CPUUser ManualUM001604-0108 Serial Input/Output129Figure 120. SPI Data In/Out ConfigurationP27 OUTPINSPI ActiveP27 IN0 SOI D0 EnableOPEN-DRAINA

Pagina 43 - User Manual

Z8® CPUUser ManualUM001604-0108 Serial Input/Output130Figure 121. SPI Clock/SPI Slave Select Output ConfigurationSPI MSTRPINP31+SPI ENP34SK INSPI

Pagina 44

Z8® CPUUser ManualUM001604-0108 External Interface131External InterfaceIntroductionZ8® CPU can be a microcontroller with 20 pins for external memory

Pagina 45

Z8® CPUUser ManualUM001604-0108 External Interface132Data Strobe (Output, Active Low)—Data Strobe (DS) provides the timing for data movement to or f

Pagina 46

Z8® CPUUser ManualUM001604-0108 Address Space7When instructions are executed, registers are read when defined as sources and written when defined as

Pagina 47

Z8® CPUUser ManualUM001604-0108 External Interface133Port 0 can be programmed to provide either four additional address lines (A11–A8), which increa

Pagina 48 - Watchdog Timer

Z8® CPUUser ManualUM001604-0108 External Interface134Data MemoryThe two Z8 external memory spaces, data and program, are addressed as two separate s

Pagina 49 - Power-On Reset

Z8® CPUUser ManualUM001604-0108 External Interface135clock is shown for clarity only and does not have a specific timing relationship with other sig

Pagina 50 - Input/Output Ports

Z8® CPUUser ManualUM001604-0108 External Interface136Address StrobeAll transactions start with AS driven Low and then raised High by Z8® CPU. The ri

Pagina 51 - Input and Output Registers

Z8® CPUUser ManualUM001604-0108 External Interface137Extended Bus TimingSome products can accommodate slow memory access time by automatically inser

Pagina 52 - General I/O Mode

Z8® CPUUser ManualUM001604-0108 External Interface138Timing is extended by setting bit D5 in the Port 0–1 Mode Register (F8h) to 1 (see Figure 130).

Pagina 53 - Input/Output Ports

Z8® CPUUser ManualUM001604-0108 External Interface139the current instruction, the opcode of the next instruction is fetched. Instruction pipelining

Pagina 54 - Handshake Operation

Z8® CPUUser ManualUM001604-0108 External Interface140Z8® Reset ConditionsAfter a hardware reset, extended timing is set to accommodate slow memory a

Pagina 55

Z8® CPUUser ManualUM001604-0108 Instruction Set141Instruction SetZ8® instructions can be divided functionally into the following eight groups:•Load•

Pagina 56

Z8® CPUUser ManualUM001604-0108 Instruction Set142INC dst IncrementINCW dst Increment WordSBC dst, src Subtract with CarrySUB dst, src SubtractTable

Pagina 57

Z8® CPUUser ManualUM001604-0108 Address Space8With 4-bit addressing, the register file is logically divided into 16 Working Register Groups of 16 re

Pagina 58 - Handshake Operations

Z8® CPUUser ManualUM001604-0108 Instruction Set143Table 31. Block Transfer InstructionsMnemonic Operands InstructionLDCI dst, src Load Constant Auto

Pagina 59 - General Port I/O

Z8® CPUUser ManualUM001604-0108 Instruction Set144Processor FlagsThe Flag Register (FCh) informs about the current status of Z8® CPU. The flags and

Pagina 60

Z8® CPUUser ManualUM001604-0108 Instruction Set145Zero FlagFor arithmetic and logical operations, the Zero Flag (Z) is set to 1 if the result is zer

Pagina 61

Z8® CPUUser ManualUM001604-0108 Instruction Set146IRET changes the value of the Decimal Adjust Flag when the Flag Register saved in the Stack is res

Pagina 62

Z8® CPUUser ManualUM001604-0108 Instruction Set147Notation and Binary EncodingIn the detailed instruction descriptions that make up the rest of this

Pagina 63

Z8® CPUUser ManualUM001604-0108 Instruction Set148Table 37. Notational ShorthandNotation Address Mode Operand Range *cc Condition Code See Condition

Pagina 64

Z8® CPUUser ManualUM001604-0108 Instruction Set149Additional symbols used are listed in Table 38.Assignment of a value is indicated by the symbol “←

Pagina 65

Z8® CPUUser ManualUM001604-0108 Instruction Set150In general, whenever an instruction format requires an 8-bit register address, that address can sp

Pagina 66

Z8® CPUUser ManualUM001604-0108 Instruction Set151CP dst, srcdst − src† A[ ] [[[[––DA dst R 40 [[[X––dst ← DA dst IR 41DEC dst R 00 – [ [ [ – –dst

Pagina 67

Z8® CPUUser ManualUM001604-0108 Instruction Set152JP cc, dst DA cD ––––––if cc is true, c = 0–Fthen PC ← dst IRR 30JR cc, dst RA cB ––––––if cc is

Pagina 68 - Special Functions

Z8® CPUUser ManualUM001604-0108 Address Space9Figure 4. Working Register Addressing Examples*Note: The full register file is shown. Refer to the sel

Pagina 69

Z8® CPUUser ManualUM001604-0108 Instruction Set153dst ← src andr ← r + 1 orrr ←rr + 1lrr Ir 93NOP FF ––––––OR dst, srcdst ← dst OR src†4[ ]–[[0––POP

Pagina 70 - Port Handshake

Z8® CPUUser ManualUM001604-0108 Instruction Set154SRP dstRP ← srcIm 31 ––––––STOP 6 F ––––––SUB dst, srcdst ← dst–src† 2[ ] [[[[1[SWAP dst RIRF0F1

Pagina 71

Z8® CPUUser ManualUM001604-0108 Instruction Set155Table 40 provides a summary of Z8 address modes. Table 40. Summary of Z8® Address ModesAddress Mod

Pagina 72

Z8® CPUUser ManualUM001604-0108 Instruction Set156Op Code MapFigure 134 displays the opcode map.Figure 134. Op Code Map 10.5CPR , R16.5DECR16.5DECI

Pagina 73 - I/O Port Reset Conditions

Z8® CPUUser ManualUM001604-0108 Instruction Description157Instruction DescriptionTable 41 provides quick reference to each of the ZTP process manipu

Pagina 74

Z8® CPUUser ManualUM001604-0108 Instruction Description158AddSyntax ADD dst, srcInstruction FormatOperationdst ← dst + srcThe source operand is adde

Pagina 75 - Analog Comparators

Z8® CPUUser ManualUM001604-0108 Instruction Description159Example 1If Working Register R3 contains 16h and Working Register R11 contains 20h, the st

Pagina 76

Z8® CPUUser ManualUM001604-0108 Instruction Description160Example 6If Register D4h contains 5Fh and Register 5Fh contains 4Ch, the statement:ADD @D4

Pagina 77

Z8® CPUUser ManualUM001604-0108 Instruction Description161Add With CarrySyntaxADC dst, srcInstruction FormatOperationdst ← dst + src + CThe source o

Pagina 78 - Comparator Programming

Z8® CPUUser ManualUM001604-0108 Instruction Description162Example 1If Working Register R3 contains 16h, the C Flag is set to 1, and Working Register

Pagina 79 - Comparator Definitions

Z8® CPUUser ManualUM001604-0108 Address Space10Error ConditionsRegisters in the Z8® Standard Register File must be correctly used because certain co

Pagina 80 - Open-Drain Configuration

Z8® CPUUser ManualUM001604-0108 Instruction Description163Example 6If Register D4h contains 5Fh, Register 5Fh contains 4Ch, and the C Flag is set, t

Pagina 81 - Low EMI Emission

Z8® CPUUser ManualUM001604-0108 Instruction Description164Call ProcedureSyntaxCALL dstInstruction FormatOperationSP ← SP–2 @SP ← PC PC ← dstThe Stac

Pagina 82 - Input Protection

Z8® CPUUser ManualUM001604-0108 Instruction Description165Example 1If the contents of the PC are 1A47h and the contents of the SP (Registers FEh and

Pagina 83

Z8® CPUUser ManualUM001604-0108 Instruction Description166Complement Carry FlagSyntaxCCFInstruction FormatOperationC ← NOT CThe C Flag is complement

Pagina 84 - CMOS Autolatches

Z8® CPUUser ManualUM001604-0108 Instruction Description167ClearSyntaxCLR dstInstruction FormatOperationdst ← 0The destination operand is cleared to

Pagina 85 - Design Considerations

Z8® CPUUser ManualUM001604-0108 Instruction Description168ComplementSyntaxCOM dstInstruction FormatOperationdst ← NOT dstThe contents of the destina

Pagina 86

Z8® CPUUser ManualUM001604-0108 Instruction Description169Example 2If Register 08h contains 24h, and Register 24h contains FFh (11111111b), the stat

Pagina 87 - Counters and Timers

Z8® CPUUser ManualUM001604-0108 Instruction Description170CompareSyntaxCP dst, srcInstruction FormatOperationdst–srcThe source operand is compared t

Pagina 88 - Prescalers and Counter/Timers

Z8® CPUUser ManualUM001604-0108 Instruction Description171If Working Register R3 contains 16h and Working Register R11 contains 20h, the state-ment:

Pagina 89

Z8® CPUUser ManualUM001604-0108 Instruction Description172Decimal AdjustSyntaxDA dstInstruction FormatOperationdst ← DA dstThe destination operand i

Pagina 90 - Counter/Timer Operation

Z8® CPUUser ManualUM001604-0108 Address Space11Currently, three out of the possible sixteen Z8 ERF Banks have been implemented. ERF Bank 0, also kno

Pagina 91 - Prescaler Operations

Z8® CPUUser ManualUM001604-0108 Instruction Description173Address modes R or IR can be used to specify a 4-bit Working Register. In this format, the

Pagina 92

Z8® CPUUser ManualUM001604-0108 Instruction Description174 0011 1100 = 3Ch Register 45F contains the value 5Fh, and the result of the addition is s

Pagina 93

Z8® CPUUser ManualUM001604-0108 Instruction Description175DecrementSyntaxDEC dstInstruction FormatOperationdst ← dst–1The contents of the destinatio

Pagina 94

Z8® CPUUser ManualUM001604-0108 Instruction Description176Decrement and Jump if Non-ZeroSyntaxDJNZ r, dstInstruction FormatOperationr ← r–1; If r &l

Pagina 95

Z8® CPUUser ManualUM001604-0108 Instruction Description177•End the loop with DJNZ The assembly listing required for this routine is as follows:

Pagina 96 - External Clock Input Mode

Z8® CPUUser ManualUM001604-0108 Instruction Description178Decrement WordSyntaxDECW dstInstruction FormatOperationdst ← dst–1The contents of the dest

Pagina 97 - Triggered Input Mode

Z8® CPUUser ManualUM001604-0108 Instruction Description179DECW @R0 Op Code: 81 E0leaves the value FAF2h in Register Pair 30h and 31h. The S Flag is

Pagina 98 - Cascading Counter/Timers

Z8® CPUUser ManualUM001604-0108 Instruction Description180Disable InterruptsSyntaxDlInstruction FormatOperationIMR (7) ← 0Bit 7 of Control Register

Pagina 99

Z8® CPUUser ManualUM001604-0108 Instruction Description181Enable InterruptsSyntaxEIInstruction FormatOperationIMR (7) ← 0Bit 7 of Control Register F

Pagina 100 - Counters and Timers

Z8® CPUUser ManualUM001604-0108 Instruction Description182HaltSyntaxHALTInstruction FormatOperationThe HALT instruction turns off the internal CPU c

Pagina 101

Z8® CPUUser ManualUM001604-0108 Address Space12When an ERF Bank is selected, register addresses 00h to 0Fh access those sixteen ERF Bank registers—i

Pagina 102 - Interrupts

Z8® CPUUser ManualUM001604-0108 Instruction Description183IncrementInstruction FormatOperationdst ← dst + 1The contents of the destination operand a

Pagina 103 - Interrupt Sources

Z8® CPUUser ManualUM001604-0108 Instruction Description184Example 3If Register B3h contains CBh and Register BCh contains FFh, the statement:INC @B3

Pagina 104 - External Interrupt Sources

Z8® CPUUser ManualUM001604-0108 Instruction Description185Increment WordSyntaxINCW dstInstruction FormatOperationdst ← dst–1The contents of the dest

Pagina 105 - Internal Interrupt Sources

Z8® CPUUser ManualUM001604-0108 Instruction Description186Example 2If Working Register R0 contains 30h, and Register Pairs 30h and 31h contain the v

Pagina 106 - Interrupt Initialization

Z8® CPUUser ManualUM001604-0108 Instruction Description187Interrupt ReturnSyntaxIRETInstruction FormatOperationFLAGS ← @SP SP ← SP + 1 PC ← @SP SP ←

Pagina 107 - Interrupts

Z8® CPUUser ManualUM001604-0108 Instruction Description188JumpSyntaxJP cc, dstInstruction FormatOperationIf cc (condition code) is true, then PC ← d

Pagina 108

Z8® CPUUser ManualUM001604-0108 Instruction Description189replaces the contents of the Program Counter with 1520h and transfers program control to t

Pagina 109

Z8® CPUUser ManualUM001604-0108 Instruction Description190Jump RelativeSyntaxJR cc, dstInstruction FormatOperationIf cc is true, PC ← PC + dstIf the

Pagina 110

Z8® CPUUser ManualUM001604-0108 Instruction Description191LoadSyntaxLD dst, srcInstruction FormatOperation dst ← srcThe contents of the source opera

Pagina 111

Z8® CPUUser ManualUM001604-0108 Instruction Description192Address modes R or IR can be used to specify a 4-bit Working Register. In this format, the

Pagina 112

Z8® CPUUser ManualUM001604-0108 iiDO NOT USE IN LIFE SUPPORTLIFE SUPPORT POLICYZILOG'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENT

Pagina 113

Z8® CPUUser ManualUM001604-0108 Address Space13The upper nibble of the register pointer selects which group of 16 bytes in the Register File, out of

Pagina 114

Z8® CPUUser ManualUM001604-0108 Instruction Description193loads the value 00h into Register 45h. The contents of Working Register R12 and Work-ing R

Pagina 115

Z8® CPUUser ManualUM001604-0108 Instruction Description194Example 11If Working Register R0 contains the value 08h and Register 2Ch (24h + 08h = 2Ch)

Pagina 116 - Reset Conditions

Z8® CPUUser ManualUM001604-0108 Instruction Description195Load ConstantSyntaxLDC dst, srcInstruction FormatOperationdst ← srcThis instruction is use

Pagina 117 - Power-Down Modes

Z8® CPUUser ManualUM001604-0108 Instruction Description196loads the value 22h into Program Memory location 10A2h. The value of Working Regis-ter R2

Pagina 118 - Power-Down Modes

Z8® CPUUser ManualUM001604-0108 Instruction Description197Load Constant AutoincrementSyntaxLDCI dst, srcInstruction FormatOperationdst ← src r ← r +

Pagina 119 - Stop Mode Recovery Register

Z8® CPUUser ManualUM001604-0108 Instruction Description198LDCI @R2, @RR6 Op Code: C3 26loads the value BCh into Register 21h. Working Register Pair

Pagina 120

Z8® CPUUser ManualUM001604-0108 Instruction Description199Load External DataSyntaxLDE dst, srcInstruction FormatOperationdst ← srcThis instruction i

Pagina 121

Z8® CPUUser ManualUM001604-0108 Instruction Description200loads the value 22h into external data memory location 404AhThis instruction format is val

Pagina 122 - Serial Input/Output

Z8® CPUUser ManualUM001604-0108 Instruction Description201Load External Data AutoincrementSyntaxLDEI dst, srcInstruction FormatOperationdst ← src r

Pagina 123 - UART Bit-Rate Generation

Z8® CPUUser ManualUM001604-0108 Instruction Description202LDEI @R2, @RR6 Op Code: 83 26loads the value C3h into Register 23h. Working Register Pair

Pagina 124 - Serial Input/Output

Z8® CPUUser ManualUM001604-0108 Address Space14Because enabling an ERF Bank (C or F) only changes register addresses 00h to 0Fh, the working registe

Pagina 125 - UART Receiver Operation

Z8® CPUUser ManualUM001604-0108 Instruction Description203No OperationSyntaxNOPInstruction FormatOperationNo action is performed by this instruction

Pagina 126 - Framing Errors

Z8® CPUUser ManualUM001604-0108 Instruction Description204Logical ANDSyntaxAND dst, srcInstruction FormatOperationdst ← dst AND src The source opera

Pagina 127 - Transmitter Operation

Z8® CPUUser ManualUM001604-0108 Instruction Description205Example 1If Working Register R1 contains 34h (00111000b) and Working Register R14 contains

Pagina 128

Z8® CPUUser ManualUM001604-0108 Instruction Description206Example 6If Working Register R3 contains the value 3Eh and Register 3Eh contains the value

Pagina 129 - Serial Peripheral Interface

Z8® CPUUser ManualUM001604-0108 Instruction Description207Logical ORSyntaxOR dst, srcInstruction FormatOperationdst ← dst OR srcThe source operand i

Pagina 130

Z8® CPUUser ManualUM001604-0108 Instruction Description208Example 1If Working Register R1 contains 34h (00111000b) and Working Register R14 contains

Pagina 131

Z8® CPUUser ManualUM001604-0108 Instruction Description209Example 6 If Working Register R3 contains the value 3Eh and Register 3Eh contains the valu

Pagina 132 - SPI Clock

Z8® CPUUser ManualUM001604-0108 Instruction Description210Logical Exclusive ORSyntaxXOR dst, srcInstruction FormatOperationdst ← dst XOR src The sou

Pagina 133

Z8® CPUUser ManualUM001604-0108 Instruction Description211Example 1If Working Register R1 contains 34h (00111000b) and Working Register R14 contains

Pagina 134

Z8® CPUUser ManualUM001604-0108 Instruction Description212Example 6If Working Register R3 contains the value 3Eh and Register 3Eh contains the value

Pagina 135

Z8® CPUUser ManualUM001604-0108 Address Space15Refer to the specific product specification to determine the above registers are imple-mented.Z8® Con

Pagina 136

Z8® CPUUser ManualUM001604-0108 Instruction Description213POPSyntaxPOP dstInstruction FormatOperationdst ← @SP SP ← SP + 1The contents of the locati

Pagina 137

Z8® CPUUser ManualUM001604-0108 Instruction Description214Example 2 If the SP (Control Registers FEh and FFh) contains the value 1000h, external dat

Pagina 138 - External Interface

Z8® CPUUser ManualUM001604-0108 Instruction Description215PUSHSyntaxPUSH srcInstruction FormatOperationSP ← SP–1 @SP ← srcThe contents of the SP (st

Pagina 139 - External Interface

Z8® CPUUser ManualUM001604-0108 Instruction Description216Example 2If the SP contains 61h and Working Register R4 contains FCh, the statement:PUSH @

Pagina 140 - External Stacks

Z8® CPUUser ManualUM001604-0108 Instruction Description217Reset Carry FlagSyntaxRCFInstruction FormatOperationC ← 0The C Flag is reset to 0, regardl

Pagina 141 - Bus Operation

Z8® CPUUser ManualUM001604-0108 Instruction Description218ReturnSyntaxRETInstruction FormatOperationPC ← @SP SP ← SP + 2This instruction is normally

Pagina 142

Z8® CPUUser ManualUM001604-0108 Instruction Description219Rotate LeftSyntaxRL dstInstruction FormatOperationC ← dst(7) dst(0) ← dst(7) dst(1) ← dst(

Pagina 143 - Data Strobe

Z8® CPUUser ManualUM001604-0108 Instruction Description220of the operand. For example, if Working Register R12 (CH) is the destination operand, then

Pagina 144 - Extended Bus Timing

Z8® CPUUser ManualUM001604-0108 Instruction Description221Rotate Left Through CarrySyntaxRLC dstInstruction FormatOperationC← dst(7) dst(0) ← C dst(

Pagina 145 - Instruction Timing

Z8® CPUUser ManualUM001604-0108 Instruction Description222of the operand. For example, if Working Register R12 (CH) is the destination operand, then

Pagina 146

Z8® CPUUser ManualUM001604-0108 Address Space16•Program Control Flags (FLAGS)•Register Pointer (RP)•Stack Pointer High-Byte (SPH)•Stack Pointer Low-

Pagina 147 - Reset Conditions

Z8® CPUUser ManualUM001604-0108 Instruction Description223Rotate RightSyntaxRR dstInstruction FormatOperationC ← dst(0) dst(0) ← dst(1) dst(1) ← dst

Pagina 148 - Instruction Set

Z8® CPUUser ManualUM001604-0108 Instruction Description224Example 1If the contents of Working Register R6 are 31h (00110001B), the statement:RR R6 O

Pagina 149 - Instruction Set

Z8® CPUUser ManualUM001604-0108 Instruction Description225Rotate Right Through CarrySyntaxRRC dstInstruction FormatOperationC ← dst(0) dst(0) ← dst(

Pagina 150

Z8® CPUUser ManualUM001604-0108 Instruction Description226of the operand. For example, if Working Register R12 (CH) is the destination operand, then

Pagina 151 - Processor Flags

Z8® CPUUser ManualUM001604-0108 Instruction Description227Set Carry FlagSyntaxSRCInstruction FormatOperationC ← 1The C Flag is set to 1, regardless

Pagina 152 - Decimal Adjust Flag

Z8® CPUUser ManualUM001604-0108 Instruction Description228Set Register PointerSyntaxSRP srcInstruction FormatOperationRP ← srcThe specified value is

Pagina 153 - Condition Codes

Z8® CPUUser ManualUM001604-0108 Instruction Description229When an Expanded Register Bank, other than Bank 0 is selected, access to the Z8® Stan-dard

Pagina 154 - Notation and Binary Encoding

Z8® CPUUser ManualUM001604-0108 Instruction Description230group of 16 registers. Registers F0h to FFh can be accessed as Working Registers R0 to R15

Pagina 155

Z8® CPUUser ManualUM001604-0108 Instruction Description231Shift Right ArithmeticSyntaxSRA dstInstruction FormatOperationC ← dst(0) dst(0) ← dst(1) d

Pagina 156 - Assembly Language Syntax

Z8® CPUUser ManualUM001604-0108 Instruction Description232the operand. For example, if Working Register R12 (CH) is the destination operand, then EC

Pagina 157 - Instruction Summary

Z8® CPUUser ManualUM001604-0108 Address Space17Working Register Group 0 in ERF Bank 0 consists of the registers for Z8® General-Pur-pose Registers a

Pagina 158

Z8® CPUUser ManualUM001604-0108 Instruction Description233STOPSyntaxSTOPInstruction FormatOperationThis instruction turns OFF the internal system cl

Pagina 159

Z8® CPUUser ManualUM001604-0108 Instruction Description234SubtractSyntaxSUB dst, srcInstruction FormatOperationdst ← dst–srcThe source operand is su

Pagina 160

Z8® CPUUser ManualUM001604-0108 Instruction Description235Example 1If Working Register R3 contains 16h, and Working Register R11 contains 20h, the s

Pagina 161

Z8® CPUUser ManualUM001604-0108 Instruction Description236Example 6 If Register D4h contains 5Fh, Register 5Fh contains 4Ch, the statement:SUB @D4h,

Pagina 162

Z8® CPUUser ManualUM001604-0108 Instruction Description237Subtract With CarrySyntaxSBC dst, srcInstruction FormatOperationdst ← dst–src–CThe source

Pagina 163 - Op Code Map

Z8® CPUUser ManualUM001604-0108 Instruction Description238Example 1If Working Register R3 contains 16h, the C Flag is set to 1, and Working Register

Pagina 164 - Instruction Description

Z8® CPUUser ManualUM001604-0108 Instruction Description239leaves the value 27h in Register 6Ch. The D Flag is set, and the C, Z, S, V, and H Flags a

Pagina 165 - Instruction Description

Z8® CPUUser ManualUM001604-0108 Instruction Description240Swap NibblesSyntaxSWAP dstInstruction FormatOperationdst(7-4) ↔ dst(3-0)The contents of th

Pagina 166

Z8® CPUUser ManualUM001604-0108 Instruction Description241Example 2If Working Register R5 contains BCh and Register BCh contains B3h (10110011B), th

Pagina 167

Z8® CPUUser ManualUM001604-0108 Instruction Description242Test Complement Under MaskSyntaxTCM dst, srcInstruction FormatOperation(NOT dst) AND srcTh

Pagina 168 - Add With Carry

Z8® CPUUser ManualUM001604-0108 Address Space18Working Register Group 0 in ERF Bank F consists of the control registers for STOP mode, WDT, and port

Pagina 169

Z8® CPUUser ManualUM001604-0108 Instruction Description243Example 1If Working Register R3 contains 45h (01000101b) and Working Register R7 contains

Pagina 170

Z8® CPUUser ManualUM001604-0108 Instruction Description244tests bit 1 of the destination operand for 1. The Z Flag is set indicating bit 1 in the de

Pagina 171 - Call Procedure

Z8® CPUUser ManualUM001604-0108 Instruction Description245Test Under MaskSyntaxTM dst, srcInstruction FormatOperationdst AND srcThis instruction tes

Pagina 172

Z8® CPUUser ManualUM001604-0108 Instruction Description246Example 1If Working Register R3 contains 45h (01000101b) and Working Register R7 contains

Pagina 173 - Complement Carry Flag

Z8® CPUUser ManualUM001604-0108 Instruction Description247tests bit 1 of the destination operand for 0. The Z Flag is set indicating bit 1 in the de

Pagina 174

Z8® CPUUser ManualUM001604-0108 Instruction Description248Watchdog TimerSyntaxWDTInstruction FormatOperationThe WDT is a retriggerable one shot time

Pagina 175 - Complement

Z8® CPUUser ManualUM001604-0108 Instruction Description249Watchdog Timer Enable During Halt ModeSyntaxWDhInstruction FormatOperationWhen this instru

Pagina 176

Z8® CPUUser ManualUM001604-0108 Index250IndexAacknowledge 107Address Strobe 136Addressing 132ART 115BBit Rate 116Bit-Rate 116Bus Operation 134Bus Ti

Pagina 177

Z8® CPUUser ManualUM001604-0108 Index251IRQ Software Interrupt Generation 104LLatency 107Logic and Timing 98MMask 101, 109Master/Slave 123Master/Sla

Pagina 178

Z8® CPUUser ManualUM001604-0108 Index252VVectored 105Vectored Interrupt Cycle Timing 107Vectored Processing 105WWorst Case 107ZZ8 140Z8 Reset Condit

Pagina 179 - Decimal Adjust

Z8® CPUUser ManualUM001604-0108 Address Space19Program Memory The first 12 bytes of Program Memory are reserved for the interrupt vectors, as displa

Pagina 180

Z8® CPUUser ManualUM001604-0108 Customer Support253Customer SupportFor answers to technical questions about the product, documentation, or any other

Pagina 181

Z8® CPUUser ManualUM001604-0108 Address Space20Z8® External MemoryZ8 CPU, in some cases, has the capability to access external Program Memory with t

Pagina 182 - Decrement

Z8® CPUUser ManualUM001604-0108 Address Space21External Data MemoryThe Z8 CPU, in some cases, can address up to 60 KB of external data memory beginn

Pagina 183

Z8® CPUUser ManualUM001604-0108 Address Space22Z8® StacksStack operations can occur in either the Z8 Standard Register File or external data mem-ory

Pagina 184

Z8® CPUUser ManualUM001604-0108 Revision HistoryiiiRevision HistoryEach instance in Revision History reflects a change to this document from its pre

Pagina 185 - Decrement Word

Z8® CPUUser ManualUM001604-0108 Address Space23Figure 11. Stack OperationsPCL Top of StackStack ContentsPCHPCLPCHFLAGSAfter anInterrupt CycleS

Pagina 186

Z8® CPUUser ManualUM001604-0108 Clock24ClockZ8® CPU derives its timing from on-board clock circuitry connected to pins XTAL1 and XTAL2. The clock ci

Pagina 187 - Disable Interrupts

Z8® CPUUser ManualUM001604-0108 Clock25SCLK ÷ TCLK Divide-By-16 SelectThe D0 bit of the SMR controls a divide-by-16 prescaler of SCLK ÷ TCLK. The pu

Pagina 188 - Enable Interrupts

Z8® CPUUser ManualUM001604-0108 Clock26Oscillator ControlIn some cases, the Z8® CPU offers software control of the oscillator to select low EMI driv

Pagina 189

Z8® CPUUser ManualUM001604-0108 Clock27Oscillator OperationThe Z8® CPU uses a Pierce oscillator with an internal feedback (see Figure 16). The advan

Pagina 190 - Increment

Z8® CPUUser ManualUM001604-0108 Clock28LayoutTraces connecting crystal, caps, and the Z8® CPU oscillator pins should be as short and wide as possibl

Pagina 191

Z8® CPUUser ManualUM001604-0108 Clock29Crystals and ResonatorsCrystals and ceramic resonators, displayed in Figure 18 should have the characteristic

Pagina 192 - Increment Word

Z8® CPUUser ManualUM001604-0108 Clock30Depending on operation frequency, the oscillator may require the addition of capacitors C1 and C2 (displayed

Pagina 193

Z8® CPUUser ManualUM001604-0108 Clock31In Figure 18 through Figure 20, Zilog® recommends that you connect the load capacitor ground trace directly t

Pagina 194 - Interrupt Return

Z8® CPUUser ManualUM001604-0108 Clock32Simple series capacitance is calculated using the following equation:Sample calculation for capacitance C1 an

Pagina 195

Z8® CPUUser ManualUM001604-0108 Table of ContentsivTable of ContentsZ8® CPU Product Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 196

Z8® CPUUser ManualUM001604-0108 Reset33ResetThis section describes the Z8® CPU reset conditions, reset timing, and register initializa-tion procedur

Pagina 197 - Jump Relative

Z8® CPUUser ManualUM001604-0108 Reset34Program execution starts 5 to 10 clock cycles after internal RESET has returned High. The initial instruction

Pagina 198

Z8® CPUUser ManualUM001604-0108 Reset35After a reset, the first routine executed should be one that initializes the control registers to the require

Pagina 199

Z8® CPUUser ManualUM001604-0108 Reset36Figure 23. Example of External Power-On Reset CircuitTable 13. ERF Bank 0 Reset Values at RESETRegister (Hex)

Pagina 200

Z8® CPUUser ManualUM001604-0108 Reset37Table 15. Sample Expanded Register File Bank F Reset ValuesRegister (Hex) Register NameBitsComments7654321000

Pagina 201

Z8® CPUUser ManualUM001604-0108 Reset38Figure 24. Example of Z8 Reset with RESET Pin, WDT, SMR, and POR 256 TpC 256 512 1024

Pagina 202 - Load Constant

Z8® CPUUser ManualUM001604-0108 Reset39Figure 25. Example of Z8 Reset with WDT, SMR, and POR5ms POR 5 ms 15 ms 25 ms 100 ms

Pagina 203

Z8® CPUUser ManualUM001604-0108 Watchdog Timer40Watchdog TimerThe WDT is a retriggerable one-shot timer that resets the Z8® CPU if it reaches its te

Pagina 204 - Load Constant Autoincrement

Z8® CPUUser ManualUM001604-0108 Watchdog Timer41The WDTMR register is accessible only during the first 60 processor cycles from the exe-cution of th

Pagina 205

Z8® CPUUser ManualUM001604-0108 Watchdog Timer42Bits 5, 6, and 7—These bits are reserved.VCC Voltage Comparator—An on-board voltage comparator check

Pagina 206 - Load External Data

Z8® CPUUser ManualUM001604-0108 Table of ContentsvInput/Output Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 207

Z8® CPUUser ManualUM001604-0108 Input/Output Ports43Input/Output PortsZ8® CPU features up to 32 lines dedicated to input and output. These lines are

Pagina 208

Z8® CPUUser ManualUM001604-0108 Input/Output Ports44Input and Output RegistersEach bit of Ports 0, 1, and 2, has an input register, an output regist

Pagina 209

Z8® CPUUser ManualUM001604-0108 Input/Output Ports45General I/O ModePort 0 can be an 8-bit, bidirectional, CMOS or TTL compatible I/O port. These ei

Pagina 210 - No Operation

Z8® CPUUser ManualUM001604-0108 Input/Output Ports46Figure 30. Port 0 Configuration with Open-Drain Capability, Autolatch, and Schmitt-TriggerOENPor

Pagina 211 - Logical AND

Z8® CPUUser ManualUM001604-0108 Input/Output Ports47Read/Write OperationsIn the nibble I/O Mode, Port 0 is accessed as general-purpose register P0 (

Pagina 212

Z8® CPUUser ManualUM001604-0108 Input/Output Ports48DAV0 (P32) and RDY0 (P35) when Port 0 is an input port, or RDY0 (P32) and DAV0 (P35) when Port 0

Pagina 213

Z8® CPUUser ManualUM001604-0108 Input/Output Ports49Figure 33. Port 0 Handshake OperationFigure 34. Port 1 Configuration with Open-Drain Capability,

Pagina 214 - Logical OR

Z8® CPUUser ManualUM001604-0108 Input/Output Ports50Read/Write OperationsIn byte input or byte output mode, the port is accessed as General-Purpose

Pagina 215

Z8® CPUUser ManualUM001604-0108 Input/Output Ports51Using the Port 0–1 Mode Register, Port 1 is configured as an output port by setting bits D4 and

Pagina 216

Z8® CPUUser ManualUM001604-0108 Input/Output Ports52Port 2Port 2 is a general-purpose port. Figure 29 on page 45 displays a block diagram of Port 2.

Pagina 217 - Logical Exclusive OR

Z8® CPUUser ManualUM001604-0108 Table of ContentsviPrescaler Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 218

Z8® CPUUser ManualUM001604-0108 Input/Output Ports53Figure 39. Port 2 Configuration with Open-Drain Capability, Autolatch, and Schmitt-TriggerFigure

Pagina 219

Z8® CPUUser ManualUM001604-0108 Input/Output Ports54Read/Write OperationsPort 2 is accessed as General-Purpose Register P2 (02h). Port 2 is written

Pagina 220

Z8® CPUUser ManualUM001604-0108 Input/Output Ports55open-drain output, the data returned is the value forced on the output pin by the external syste

Pagina 221

Z8® CPUUser ManualUM001604-0108 Input/Output Ports56Port 3General Port I/OPort 3 differs structurally from Ports 0, 1, and 2. Port 3 lines are fixed

Pagina 222

Z8® CPUUser ManualUM001604-0108 Input/Output Ports57Figure 44. Port 3 Block DiagramInputBufferInputRegisterOutputBufferOutputRegisterOutputRegisterW

Pagina 223

Z8® CPUUser ManualUM001604-0108 Input/Output Ports58Figure 45. Port 3 Configuration with Comparator, Autolatch, and Schmitt-TriggerP31 (AN1)R247 = P

Pagina 224 - Reset Carry Flag

Z8® CPUUser ManualUM001604-0108 Input/Output Ports59Figure 46. Port 3 Configuration with ComparatorPINP370 P34, P37 Standard Output1 P34, P37 Comp

Pagina 225

Z8® CPUUser ManualUM001604-0108 Input/Output Ports60Figure 47. Port 3 Configuration with SPI and Comparator OutputsSPI MSTRPINP31+SPI ENP34SK INSP

Pagina 226 - C D7D6D5D4D3D2D1D0

Z8® CPUUser ManualUM001604-0108 Input/Output Ports61Read/Write OperationsPort 3 is accessed as a General-Purpose Register P3 (03h). Port 3 is writte

Pagina 227

Z8® CPUUser ManualUM001604-0108 Input/Output Ports62Figure 49. Port 3 Mode Register ConfigurationTable 17. Port 3 Line Functions Function Line Signa

Pagina 228

Z8® CPUUser ManualUM001604-0108 Table of ContentsviiSerial Peripheral Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 229

Z8® CPUUser ManualUM001604-0108 Input/Output Ports63Port HandshakeWhen Ports 0, 1, and 2 are configured for handshake operation, a pair of lines fro

Pagina 230 - CD7 D6 D5 D4 D3 D2 D1 D0

Z8® CPUUser ManualUM001604-0108 Input/Output Ports64the port is not protected and can be overwritten by the Z8 CPU during the handshake sequence. To

Pagina 231

Z8® CPUUser ManualUM001604-0108 Input/Output Ports65In applications requiring a strobed signal instead of the interlocked handshake, Z8® CPU can sat

Pagina 232

Z8® CPUUser ManualUM001604-0108 Input/Output Ports66I/O Port Reset ConditionsFull ResetAfter a hardware reset, WDT reset, or a POR, Port Mode Regist

Pagina 233

Z8® CPUUser ManualUM001604-0108 Input/Output Ports67Because the types and amounts of I/O vary greatly among the Z8® CPU family devices, it is recomm

Pagina 234 - Set Carry Flag

Z8® CPUUser ManualUM001604-0108 Input/Output Ports68Analog ComparatorsSelect Z8 devices include two independent on-chip analog comparators. See the

Pagina 235 - Set Register Pointer

Z8® CPUUser ManualUM001604-0108 Input/Output Ports69Port 3 inputs must be in digital mode if Port 3 is a Stop Mode Recovery source. The analog compa

Pagina 236

Z8® CPUUser ManualUM001604-0108 Input/Output Ports70Figure 59. Port Configuration of Comparator Inputs on P31, P32, and P33P31 (AN1)R247 = P3M+-IRQ2

Pagina 237

Z8® CPUUser ManualUM001604-0108 Input/Output Ports71Comparator ProgrammingExample of enabling analog comparator mode.X = any binary numberExample of

Pagina 238

Z8® CPUUser ManualUM001604-0108 Input/Output Ports72Comparator OperationAfter enabling the Analog Comparator mode, P33 becomes a common reference in

Pagina 239

Z8® CPUUser ManualUM001604-0108 Z8® CPU Product Overview1Z8® CPU Product OverviewZilog’s Z8® microcontroller (MCU) product line continues to expand

Pagina 240

Z8® CPUUser ManualUM001604-0108 Input/Output Ports73IIOFor CMOS voltage comparator inputs, the input offset current (IIO) is the leakage current of

Pagina 241 - Subtract

Z8® CPUUser ManualUM001604-0108 Input/Output Ports74Other Z8 MCUs feature a Port Configuration Register (PCON) for which Port 0 and Port 1 can be co

Pagina 242

Z8® CPUUser ManualUM001604-0108 Input/Output Ports75•Low EMI output drivers have resistance of 200 Ω (typical)•Low EMI Oscillator•All output drivers

Pagina 243

Z8® CPUUser ManualUM001604-0108 Input/Output Ports76On CMOS OTP EPROM Z8® MCUs, the Port 3 inputs P31, P32, P33, and the XTAL 1 pin have only the in

Pagina 244 - Subtract With Carry

Z8® CPUUser ManualUM001604-0108 Input/Output Ports77Z8® CMOS AutolatchesI/O port bits that are configurable as inputs are protected against open cir

Pagina 245

Z8® CPUUser ManualUM001604-0108 Input/Output Ports78second occurs when the input is connected to the output of a device with tri-state capabil-ity.T

Pagina 246

Z8® CPUUser ManualUM001604-0108 Input/Output Ports79Vil (max), pullup or pull-down resistances must be calculated using Ref = R/Rp. For best case ST

Pagina 247 - Swap Nibbles

Z8® CPUUser ManualUM001604-0108 Counters and Timers80Counters and TimersZ8® CPU provides up to two 8-bit counter/timers, T0 and T1, each driven by i

Pagina 248

Z8® CPUUser ManualUM001604-0108 Counters and Timers81(TIN) using P31. Port 3 line P36 can serve as a timer output (TOUT) through which T0, T1, or th

Pagina 249 - Test Complement Under Mask

Z8® CPUUser ManualUM001604-0108 Counters and Timers82Figure 70. Prescaler 0 RegisterFigure 71. Prescaler 1 RegisterD7 D6 D5 D4 D3 D2 D1 D0(%F

Pagina 250

Z8® CPUUser ManualUM001604-0108 Z8® CPU Product Overview2default WDT clock source is an internal RC circuit (isolated from the device clock source).

Pagina 251

Z8® CPUUser ManualUM001604-0108 Counters and Timers83Counter/Timer OperationUnder software control, counter/timers are started and stopped via the T

Pagina 252 - Test Under Mask

Z8® CPUUser ManualUM001604-0108 Counters and Timers84The counter timers remain at rest as long as the Enable Count bits are 0. To enable count-ing,

Pagina 253

Z8® CPUUser ManualUM001604-0108 Counters and Timers8582). When the Prescaler Counter reaches its end-of-count, the initial value is reloaded and cou

Pagina 254

Z8® CPUUser ManualUM001604-0108 Counters and Timers86Minimum duration is achieved by loading 01h (1 prescaler output count), maximum dura-tion is ac

Pagina 255 - Watchdog Timer

Z8® CPUUser ManualUM001604-0108 Counters and Timers87and bit 6 to 1 and 0, respectively. The counter/timer TOUT mode is turned off by setting TMR bi

Pagina 256

Z8® CPUUser ManualUM001604-0108 Counters and Timers88TIN ModesThe Timer Mode Register TMR (F1h; see Figure 80 on page 89) is used in conjunction wit

Pagina 257 - UM001604-0108 Index

Z8® CPUUser ManualUM001604-0108 Counters and Timers89It is suggested that P31 be configured as an input line by setting P3M Register bit 5 to 0, alt

Pagina 258

Z8® CPUUser ManualUM001604-0108 Counters and Timers90Gated Internal Clock ModeThe TIN Gated Internal Clock Mode (TMR bit 5 and bit 4 set to 0 and 1

Pagina 259

Z8® CPUUser ManualUM001604-0108 Counters and Timers91T1 is triggered counting continues until software resets the Enable Count bit. Interrupt reques

Pagina 260 - Customer Support

Z8® CPUUser ManualUM001604-0108 Counters and Timers92Reset ConditionsAfter a hardware reset, the counter/timers are disabled and the contents of the

Modelos relacionados Z86233 | Z86243 | Z86733 | Z86743 | Z86C02 | Z86C04 | Z86C08 | Z86C15 | Z86C21 | Z86C30 | Z86C31 | Z86C33 | Z86C36 | Z86C40 | Z86C43 | Z86C61 | Z86C62 | Z86C63 | Z86C65 | Z86C83 |

Comentarios a estos manuales

Sin comentarios