Cypress Semiconductor enCoRe CY7C601xx Betriebsanweisung Seite 46

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 62
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 45
CY7C601xx
CY7C602xx
Document 38-16016 Rev. *C Page 46 of 62
Programmable Interval Timer
Table 74.Timer Capture 1 Falling (TCAP1F) [0x25] [R/W]
Bit # 7 6 5 4 3 2 1 0
Field Capture 1 Falling [7:0]
Read/Write R R R R RRR R
Default 0 0 0 0 000 0
Bit [7:0]: Capture 1 Falling [7:0]
This register holds the value of the Free-running Timer when the last falling edge occurred on the TCAP1 input. The bits that
are stored here are selected by the Prescale [2:0] bits in the Timer Configuration register. When capture 0 is in 16-bit mode this
register holds the high-order 8 bits of the 16-bit timer from the last Capture 0 falling edge. When Capture 0 is in 16-bit mode this
register will be loaded with high-order 8 bits of the 16-bit timer on TCAP0 falling edge.
Table 75.Capture Interrupt Status (TCAPINTS) [0x2C] [R/W]
Bit # 7 6 5 4 3 2 1 0
Field Reserved Cap1 Fall
Active
Cap1 Rise
Active
Cap0 Fall
Active
Cap0 Rise
Active
Read/Write ––––R/W R/W R/W R/W
Default 0 0 0 0 000 0
These four bits contains the status bits for the four timer captures for the four timer block capture interrupt sources. Writing any
of these bits with 1 clears that interrupt.
Bit [7:4]: Reserved
Bit 3: Cap1 Fall Active
0 = No event
1 = A falling edge has occurred on Cap1
Bit 2: Cap1 Rise Active
0 = No event
1 = A rising edge has occurred on Cap1
Bit 1: Cap0 Fall Active
0 = No event
1 = A falling edge has occurred on Cap0
Bit 0: Cap0 Rise Active
0 = No event
1 = A rising edge has occurred on Cap0
Note: The interrupt status bits must be cleared by firmware to enable subsequent interrupts. This is achieved by writing a ‘1’ to
the corresponding Interrupt status bit.
Table 76.Programmable Interval Timer Low (PITMRL) [0x26] [R]
Bit # 7 6 5 4 3 2 1 0
Field Prog Interval Timer [7:0]
Read/Write R R R R RRR R
Default 0 0 0 0 000 0
Bit [7:0]: Prog Interval Timer [7:0]
This register holds the low order-byte of the 12-bit programmable interval timer. Reading this register causes the high-order byte
to be moved into a holding register allowing an automatic read of all 12 bits simultaneously.
Table 77.Programmable Interval Timer High (PITMRH) [0x27] [R]
Bit # 7 6 5 4 3 2 1 0
Field Reserved Prog Interval Timer [11:8]
Read/Write -- -- -- -- RRR R
Default 0 0 0 0 000 0
Bit [7:4]: Reserved
Bit [3:0]: Prog Internal Timer [11:8]
This register holds the high order nibble of the 12-bit programmable interval timer. Reading this register returns the high order
nibble of the 12-bit timer at the instant that the low order byte was last read.
Seitenansicht 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 61 62

Kommentare zu diesen Handbüchern

Keine Kommentare