Zilog Z86193 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Czujniki Zilog Z86193. Zilog Z86193 User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 260
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - Z8 Family of Microcontrollers

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 6

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

Strona 7

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

Strona 8

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

Strona 9

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

Strona 10 - Product Development Support

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

Strona 11 - CPU Product Overview

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

Strona 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

Strona 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

Strona 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

Strona 15

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

Strona 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

Strona 17 - Error Conditions

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

Strona 18

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

Strona 19

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

Strona 20

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

Strona 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

Strona 22 - Standard Z8 Registers

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

Strona 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

Strona 24

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

Strona 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

Strona 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

Strona 27 - External Memory

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

Strona 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

Strona 29

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 34 - Oscillator Operation

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

Strona 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

Strona 36 - Crystals and Resonators

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

Strona 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

Strona 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.

Strona 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,

Strona 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

Strona 41

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

Strona 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

Strona 43 - User Manual

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

Strona 44

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

Strona 45

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

Strona 46

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

Strona 47

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

Strona 48 - Watchdog Timer

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

Strona 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

Strona 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

Strona 51 - Input and Output Registers

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

Strona 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).

Strona 53 - Input/Output Ports

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

Strona 54 - Handshake Operation

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

Strona 55

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

Strona 56

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

Strona 57

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

Strona 58 - Handshake Operations

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

Strona 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

Strona 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

Strona 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

Strona 62

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

Strona 63

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

Strona 64

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

Strona 65

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 71

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

Strona 72

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

Strona 73 - I/O Port Reset Conditions

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

Strona 74

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

Strona 75 - Analog Comparators

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

Strona 76

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

Strona 77

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

Strona 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

Strona 79 - Comparator Definitions

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

Strona 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

Strona 81 - Low EMI Emission

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

Strona 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

Strona 83

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

Strona 84 - CMOS Autolatches

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

Strona 85 - Design Considerations

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

Strona 86

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

Strona 87 - Counters and Timers

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

Strona 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:

Strona 89

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

Strona 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

Strona 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

Strona 92

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

Strona 93

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

Strona 94

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

Strona 95

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

Strona 96 - External Clock Input Mode

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

Strona 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

Strona 98 - Cascading Counter/Timers

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

Strona 99

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

Strona 100 - Counters and Timers

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

Strona 101

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

Strona 102 - Interrupts

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

Strona 103 - Interrupt Sources

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

Strona 104 - External Interrupt Sources

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

Strona 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

Strona 106 - Interrupt Initialization

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

Strona 107 - Interrupts

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

Strona 108

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

Strona 109

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

Strona 110

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

Strona 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

Strona 112

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

Strona 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

Strona 114

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

Strona 115

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

Strona 116 - Reset Conditions

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

Strona 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

Strona 118 - Power-Down Modes

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

Strona 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

Strona 120

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

Strona 121

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

Strona 122 - Serial Input/Output

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

Strona 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

Strona 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

Strona 125 - UART Receiver Operation

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

Strona 126 - Framing Errors

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

Strona 127 - Transmitter Operation

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

Strona 128

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

Strona 129 - Serial Peripheral Interface

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

Strona 130

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

Strona 131

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

Strona 132 - SPI Clock

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

Strona 133

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

Strona 134

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

Strona 135

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

Strona 136

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

Strona 137

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

Strona 138 - External Interface

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

Strona 139 - External Interface

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

Strona 140 - External Stacks

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

Strona 141 - Bus Operation

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

Strona 142

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

Strona 143 - Data Strobe

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

Strona 144 - Extended Bus Timing

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

Strona 145 - Instruction Timing

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

Strona 146

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

Strona 147 - Reset Conditions

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

Strona 148 - Instruction Set

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

Strona 149 - Instruction Set

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

Strona 150

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

Strona 151 - Processor Flags

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

Strona 152 - Decimal Adjust Flag

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

Strona 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

Strona 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

Strona 155

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

Strona 156 - Assembly Language Syntax

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

Strona 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

Strona 158

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

Strona 159

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

Strona 160

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

Strona 161

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

Strona 162

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

Strona 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

Strona 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

Strona 165 - Instruction Description

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

Strona 166

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

Strona 167

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

Strona 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

Strona 169

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

Strona 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

Strona 171 - Call Procedure

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

Strona 172

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

Strona 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

Strona 174

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

Strona 175 - Complement

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

Strona 176

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

Strona 177

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

Strona 178

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

Strona 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

Strona 180

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

Strona 181

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

Strona 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

Strona 183

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

Strona 184

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

Strona 185 - Decrement Word

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

Strona 186

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

Strona 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

Strona 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

Strona 189

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

Strona 190 - Increment

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

Strona 191

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

Strona 192 - Increment Word

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

Strona 193

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

Strona 194 - Interrupt Return

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

Strona 195

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

Strona 196

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

Strona 197 - Jump Relative

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

Strona 198

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

Strona 199

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

Strona 200

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

Strona 201

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

Strona 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

Strona 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

Strona 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

Strona 205

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

Strona 206 - Load External Data

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

Strona 207

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

Strona 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

Strona 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

Strona 210 - No Operation

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

Strona 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 (

Strona 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

Strona 213

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

Strona 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

Strona 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

Strona 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.

Strona 217 - Logical Exclusive OR

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

Strona 218

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

Strona 219

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

Strona 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

Strona 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

Strona 222

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

Strona 223

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

Strona 224 - Reset Carry Flag

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

Strona 225

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

Strona 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

Strona 227

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

Strona 228

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

Strona 229

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

Strona 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

Strona 231

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

Strona 232

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

Strona 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

Strona 234 - Set Carry Flag

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

Strona 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

Strona 236

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

Strona 237

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

Strona 238

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

Strona 239

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

Strona 240

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

Strona 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

Strona 242

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 250

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

Strona 251

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

Strona 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,

Strona 253

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

Strona 254

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 259

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

Strona 260 - Customer Support

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

Powiązane modele: Z86233 | Z86243 | Z86733 | Z86743 | Z86C02 | Z86C04 | Z86C08 | Z86C15 | Z86C21 | Z86C30 | Z86C31 | Z86C33 | Z86C36 | Z86C40 | Z86C43 | Z86C61 | Z86C62 | Z86C63 | Z86C65 | Z86C83 |

Komentarze do niniejszej Instrukcji

Brak uwag