⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pe196.rd1

📁 mcs51,2051,x86系列MCU
💻 RD1
📖 第 1 页 / 共 4 页
字号:
#HSI3 80C196K? 202#
#HSI3 80C19? 202#
This option configures the HSI module to capture each negative transition on
the HSI.3 pin.  When a transition is detected, the Timer 1 value is written to
the HSI Time Register.
#HSI0 80C196K? 203#
#HSI0 80C19? 203#
This option configures the HSI module to capture every transition (both
positive and negative) on the HSI.0 pin.  When a transition is detected, the
Timer 1 value is written to the HSI Time Register.
#HSI1 80C196K? 203#
#HSI1 80C19? 203#
This option configures the HSI module to capture every transition (both
positive and negative) on the HSI.1 pin.  When a transition is detected, the
Timer 1 value is written to the HSI Time Register.
#HSI2 80C196K? 203#
#HSI2 80C19? 203#
This option configures the HSI module to capture every transition (both
positive and negative) on the HSI.2 pin.  When a transition is detected, the
Timer 1 value is written to the HSI Time Register.
#HSI3 80C196K? 203#
#HSI3 80C19? 203#
This option configures the HSI module to capture every transition (both
positive and negative) on the HSI.3 pin.  When a transition is detected, the
Timer 1 value is written to the HSI Time Register.
#HSI0 80C196K? 300#
#HSI0 80C19? 300#
Select this option to enable the HSI.0 interrupt.

The HSI.0 pin can be configured to function as an independent, external
interrupt.  The pin does not need to be enabled as an HSI input to function as
an external interrupt.
#HSI? 80C196K? 301#
#HSI? 80C19? 301#
#HSI? 80C196K? 302#
#HSI? 80C19? 302#
#HSI? 80C196K? 303#
#HSI? 80C19? 303#
Determine which HSI interrupts you want to enable.

The HSI can generate an interrupt when any of the following events occur.
- The fourth entry moves into the FIFO.
- The sixth entry moves into the FIFO.
- An entry moves from the FIFO into the holding register.
#HSI? 80C196K? 401#
#HSI? 80C19? 401#
#HSI? 80C196K? 400#
#HSI? 80C19? 400#
Determine which interrupt you want the sixth FIFO entry to generate.

The sixth FIFO entry can trigger either the HSI Data Available interrupt
(INT02) or the HSI FIFO Full interrupt (INT14), but it should not be configured
for both.
#HSO? 80C196K? 100#
#HSO? 80C19? 100#
Select this option to enable CAM locking.

The Lock Enable bit in the IOC2 register (IOC2.6) enables and disables CAM 
locking.
#HSO? 80C196K? 110#
#HSO? 80C19? 110#
Select this option to clear the CAM.

Setting the CAM Clear bit in the I/O Control 2 Register will clear all
commands in the CAM.
#HSO? 80C196K? 120#
#HSO? 80C19? 120#
Select this option to enable the HSO.4 output.

The HSO.4 output is multiplexed with the HSI.2 input.  This pin can be enabled
for both functions.  Setting the HSO 4 Enable bit (IOC1.4) enables HSO.4 as an
output.
#HSO? 80C196K? 121#
#HSO? 80C19? 121#
Select this option to enable the HSO.5 output.

The HSO.5 output is multiplexed with the HSI.3 input.  This pin can be enabled
for both functions.  Setting the HSO 5 Enable bit (IOC1.6) enables HSO.5.
#HSO? 80C196K? 130#
#HSO? 80C19? 130#
#HSO? 80C196K? 131#
#HSO? 80C19? 131#
Determine which HSO interrupts you want to enable.

The HSO module can generate two different interrupts: the High-Speed Output
interrupt (INT03) and the Software Timer interrupt (INT05).  External events
generate the High-Speed Output interrupt, if the interrupt is enabled
(INT_MASK.3 set).  Internal events generate the Software Timer interrupt, if
the interrupt is enabled (INT_MASK.5 set).
#HSO? 80C196KC 160#
#HSO? 80C196KD 160#
Select an HSO event.

The HSO can trigger fifteen different events, which are classified as
external or internal.  The external events are those that toggle one or more
of the HSO outputs; the internal events are those that set up the software
timers, reset Timer 2, and start an A/D conversion.  All of these events set
flags that can optionally generate interrupts.

In general, external events generate the High-Speed Output interrupt (INT03)
and internal events generate the Software Timer interrupt (INT05). The HSO_ALL
event is an exception. Although it is defined as an external event, HSO_ALL
generates the Software Timer interrupt (INT05). 

When a Software Timer interrupt occurs, the interrupt service routine can
check IOS1 and IOS2 to determine the source of the interrupt. A software
timer event sets the corresponding bit in IOS1. A Timer 2 reset or an A/D
conversion start sets the corresponding bit in IOS2, and an HSO_ALL event
sets six bits (IOS2.0 - IOS2.5).
#HSO? 80C196KB 160#
#HSO? 80C198 160#
Select an HSO event.

The HSO can trigger fourteen different events, which are classified as
external or internal.  The external events are those that toggle one or more
of the HSO outputs; the internal events are those that set up the software
timers, reset Timer 2, and start an A/D conversion.  All of these events set
flags that can optionally generate interrupts.
#HSO? 80C194 160#
Select an HSO event.

The HSO can trigger different events, which are classified as external or
internal.  The external events are those that toggle one or more of the HSO
outputs; the internal events are those that set up the software timers and 
reset Timer 2.  All of these events set flags that can optionally generate
interrupts.
#HSO? 80C196K? 300#
#HSO? 80C19? 300#
Selecting this event programs the HSO unit to set the HSO pin 0.

The HSO unit will set the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 301#
#HSO? 80C19? 301#
Selecting this event programs the HSO unit to clear the HSO pin 0.

The HSO unit will clear the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 302#
#HSO? 80C19? 302#
Selecting this event programs the HSO unit to set the HSO pin 1.

The HSO unit will set the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 303#
#HSO? 80C19? 303#
Selecting this event programs the HSO unit to clear the HSO pin 1.

The HSO unit will clear the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 304#
#HSO? 80C19? 304#
Selecting this event programs the HSO unit to set the HSO pin 2.

The HSO unit will set the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 305#
#HSO? 80C19? 305#
Selecting this event programs the HSO unit to clear the HSO pin 2.

The HSO unit will clear the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 306#
#HSO? 80C19? 306#
Selecting this event programs the HSO unit to set the HSO pin 3.

The HSO unit will set the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 307#
#HSO? 80C19? 307#
Selecting this event programs the HSO unit to clear the HSO pin 3.

The HSO unit will clear the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 308#
#HSO? 80C19? 308#
Selecting this event programs the HSO unit to set the HSO pin 4.

The HSO unit will set the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 309#
#HSO? 80C19? 309#
Selecting this event programs the HSO unit to clear the HSO pin 4.

The HSO unit will clear the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 310#
#HSO? 80C19? 310#
Selecting this event programs the HSO unit to set the HSO pin 5.

The HSO unit will set the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 311#
#HSO? 80C19? 311#
Selecting this event programs the HSO unit to clear the HSO pin 5.

The HSO unit will clear the pin when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 312#
#HSO? 80C19? 312#
Selecting this event programs the HSO unit to set the HSO pins 0 and 1.

The HSO unit will set the pins when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 313#
#HSO? 80C19? 313#
Selecting this event programs the HSO unit to clear the HSO pins 0 and 1.

The HSO unit will clear the pins when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 314#
#HSO? 80C19? 314#
Selecting this event programs the HSO unit to set the HSO pins 2 and 3.

The HSO unit will set the pins when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 315#
#HSO? 80C19? 315#
Selecting this event programs the HSO unit to clear the HSO pins 2 and 3.

The HSO unit will clear the pins when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 316#
Selecting this event programs the HSO unit to set all the HSO pins.

The HSO unit will set the pins when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 317#
Selecting this event programs the HSO unit to clear all the HSO pins.

The HSO unit will clear the pins when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 318#
#HSO? 80C19? 318#
Selecting this event programs the HSO Software Timer 0.

The four software timers provide a means for generating interrupts at
predefined times.  At the specified time, the HSO sets a flag in the IOS1
register; if the interrupt is enabled, it also generates a Software Timer
interrupt.  If more than one software timer expires within the same time
frame, multiple status bits are set.  The Interrupt service routine can
examine the IOS1 register to determine which software timer(s) caused the
interrupt.
#HSO? 80C196K? 319#
#HSO? 80C19? 319#
Selecting this event programs the HSO Software Timer 1.

The four software timers provide a means for generating interrupts at
predefined times.  At the specified time, the HSO sets a flag in the IOS1
register; if the interrupt is enabled, it also generates a Software Timer
interrupt.  If more than one software timer expires within the same time
frame, multiple status bits are set.  The Interrupt service routine can
examine the IOS1 register to determine which software timer(s) caused the
interrupt.
#HSO? 80C196K? 320#
#HSO? 80C19? 320#
Selecting this event programs the HSO Software Timer 2.

The four software timers provide a means for generating interrupts at
predefined times.  At the specified time, the HSO sets a flag in the IOS1
register; if the interrupt is enabled, it also generates a Software Timer
interrupt.  If more than one software timer expires within the same time
frame, multiple status bits are set.  The Interrupt service routine can
examine the IOS1 register to determine which software timer(s) caused the
interrupt.
#HSO? 80C196K? 321#
#HSO? 80C19? 321#
Selecting this event programs the HSO Software Timer 3.

The four software timers provide a means for generating interrupts at
predefined times.  At the specified time, the HSO sets a flag in the IOS1
register; if the interrupt is enabled, it also generates a Software Timer
interrupt.  If more than one software timer expires within the same time
frame, multiple status bits are set.  The Interrupt service routine can
examine the IOS1 register to determine which software timer(s) caused the
interrupt.
#HSO? 80C196K? 322#
#HSO? 80C19? 322#
Selecting this event programs the HSO unit to reset Timer 2.

The HSO unit will reset the timer when the reference timer matches the value
written to the HSO Time register.
#HSO? 80C196K? 323#
#HSO? 80C19? 323#
Selecting this event programs the HSO unit to start an analog-to-digital
conversion.

The HSO unit will start an analog-to-digital conversion when the reference
timer matches the value written to the HSO Time register.  Before programming
the HSO unit to trigger an A/D conversion, the conversion parameters must be
set up in the A/D control registers, and the conversion source bit
(AD_COMMAND.3) must be cleared to specify that the HSO is to initiate the
conversion.
#HSO? 80C196K? 180#
#HSO? 80C19? 180#
Select this option to enable the HSO interrupt.

Setting the HSO Interrupt Enable bit (HSO_COMMAND.4) causes an HSO event to
generate an interrupt.
#HSO? 80C196K? 190#
#HSO? 80C19? 190#
Select this option to lock the command in the CAM.

When a command is locked in the CAM, the command remains in the CAM after
execution.  This feature makes it easy to generate periodic events or
waveforms.  When CAM locking is disabled, the command is cleared from the CAM
after execution.

Note:  The Lock Enable bit in the IOC2 register (IOC2.6) enables and disables
CAM locking.
#HSO? 80C196K? 200#
#HSO? 80C19? 200#
#HSO? 80C196K? 201#
#HSO? 80C19? 201#
Select the HSO time reference.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -