参数资料
型号: MC68HC08AS20CFN
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, MICROCONTROLLER, PQCC52
封装: PLASTIC, LCC-52
文件页数: 51/96页
文件大小: 3243K
代理商: MC68HC08AS20CFN
6
MC68HC05E0
MOTOROLA
6-3
PARALLEL INPUT/OUTPUT PORTS
6.2
Port C Wake-up Function
Each bit on Port C can be individually congured to operate in a wake-up mode which can interrupt
the processor when an appropriate signal edge or level is applied to the input pin (see Figure 6-2).
This is controlled by the corresponding Wake-up Enable bits (WE0 to WE7) in the Wake-up Enable
Register ($0013) and Wake-up Phase bits (WP0 to WP7) in the wake-up Phase Register ($0014).
WEx bit
1 (set)
Wake-up Interrupt enabled
0 (clear) –
Wake-up Interrupt disabled
WPx bit:
1 (set)
Wake-up on rising edge or logic high level
0 (clear) –
Wake-up on falling edge or logic low level
PITW (program interrupt type wake-up function), bit 4 of the Timer Control Register ($000C),
provides additional control of wake-up interrupts on Port C by selecting either edge or level
sensitive triggering.
PITW
1 (set)
Level-triggered interrupt selected
0 (clear) –
Edge-triggered only interrupt selected
If port C is used as an output port, the wake-up function is disabled. Therefore, a wake-up function
can only be used in conjunction with Port C being an input (see also Timer Control Register).
The wake-up function uses the INTX vector ($FFFA, $FFFB). In the INTX interrupt routine, the
user should test the WAKF ag (bit 7 in the Interrupt Control Register ($000E) to see if a wake-up
interrupt is pending. The wake-up interrupt routine should also clear the WAKF ag before
returning to the main program ow.
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Wake-up enable register
$0013
WE7
WE6
WE5
WE4
WE3
WE2
WE1
WE0
0000 0000
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Wake-up phase register
$0014
WP7
WP6
WP5
WP4
WP3
WP2
WP1
WP0
0000 0000
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Timer control register
$000C
SC1
SC0
PITX
PITW
1
XROM CETB
CETA 0000 1100
55
相关PDF资料
PDF描述
MC68HC08AZ48AVFU 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP64
MC68HC08AZ60FU 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP64
MC68HC08AZ60FU 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP64
MC68HC08AZ60MFU 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP64
MC68HC08AZ60VFU 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP64
相关代理商/技术参数
参数描述
MC68HC08AZ0 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Advance Information
MC68HC08AZ0CFU 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Advance Information
MC68HC08AZ16 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC08AZ24 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC08AZ32 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Advance Information