CDC3205G-C Micronas, CDC3205G-C Datasheet - Page 129

no-image

CDC3205G-C

Manufacturer Part Number
CDC3205G-C
Description
Automotive Controller Family The Device is a Microcontroller For Use in Automotive Applications.the On-chip Cpu is an Arm Processor ARM7TDMI with 32-bit Data And Address Bus, Which Supports Thumb format Instructions.
Manufacturer
Micronas
Datasheet
PRELIMINARY DATA SHEET
3. Just before returning to main program, the service routine
acknowledges the interrupt by writing a 1 to flag CAP.
4. The service routine reads CAP again. If it is reset, the rou-
tine can return to main program as usual. If it is still set an
external capture event overrun has happened. Appropriate
actions may be taken (i.e. discarding the capture register
value etc.).
5. go to 3.
19.1.6. Inactivation
The CAPCOM module is inactivated and returned to standby
mode (power down mode) by setting the enable bit to 0. Sec-
tion 19.1.3. applies.
19.2. Registers
The CAPCOM counter and the Capture/Compare registers
have to be read/written low byte first to avoid inconsisten-
cies. The memory controller accesses multiple byte quanti-
ties low byte first. Thus the 16 bit CAPCOM counter and the
16 bit Capture/Compare registers can be accessed 16 bit
wide.
MCAP
r/w1:
r/w0:
MCMP
r/w1:
r/w0:
MOFL
r/w1:
r/w0:
FOL
r/w1:
r/w0:
This flag is static. As long as FOL is true neither comparator
Micronas
r/w
CCCyL
CCCyH
CCxM
r
r
MCAP
0
0
0
7
7
7
MCMP
0
0
0
6
6
6
Mask CMP Flag
Mask OFL Flag
Force Output Action Logic
Mask CAP Flag
Enable.
Disable.
Enable.
Disable.
Enable.
Disable.
Force Output Action logic.
Release Output Action logic.
MOFL
Read high byte and unlock CCC
CAPCOM Counter low byte
CAPCOM Counter high byte
CAPCOM x Mode Register
Read low byte and lock CCC
0
0
0
5
5
5
FOL
0
0
0
4
4
4
0
0
0
3
3
3
OAM
0
0
0
2
2
2
0
0
0
1
1
1
IAM
June 12, 2003; 6251-579-1PD
0
0
0
0
0
0
Res
Res
Res
CCxI and CCxM are only reset by system reset, not by
standby mode.
19.1.7. Precautions
The CCxI register must not be written in CPU Slow mode
(see Section 19.1.5.3.
operations on single flags of register CCxI must be avoided.
Unwanted clearing of other flags of this register may be the
result otherwise.
can trigger nor SW can force, by writing another “one”, the
Output Action logic. After forcing it is recommended to clear
FOL unless Output Action logic should not be locked.
OAM
r/w:
Table 19–3: OAM usage
IAM
r/w:
Table 19–4: IAM usage
r/w
Bit
3 2
0 0
0 1
1 0
1 1
Bit
1 0
0 0
0 1
1 0
1 1
CCxI
CAP
0
7
Output Action Logic Modes
Disabled, ignore trigger, output low level.
Toggle output.
Output low level.
Output high level.
Input Action Logic Modes
Disabled, don’t trigger.
Trigger on rising edge.
Trigger on falling edge.
Trigger on rising and falling edge.
CMP
0
6
Output Action Mode
Defines behavior of Output Action logic.
Input Action Mode
Defines behavior of Input Action logic.
OFL
CAPCOM x Interrupt Register
0
5
LAC
on page 126). Read-Modify-Write
0
4
CDC 32xxG-C
RCR
0
3
x
0
2
x
0
1
x
0
0
127
Res

Related parts for CDC3205G-C