cp3ub26 National Semiconductor Corporation, cp3ub26 Datasheet - Page 68

no-image

cp3ub26

Manufacturer Part Number
cp3ub26
Description
Reprogrammable Connectivity Processor With Usb And Can Interfaces
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cp3ub26G18NEP/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cp3ub26G18NEPX
Manufacturer:
Texas Instruments
Quantity:
10 000
www.national.com
13.2
To set up and use the Multi-Input Wake-Up function, use the
following procedure. Performing the steps in the order
shown will prevent false triggering of a wake-up condition.
This same procedure should be used following a reset be-
cause the wake-up inputs are left floating, resulting in un-
known data on the input pins.
To change the edge sensitivity of a wake-up channel, use
the following procedure. Performing the steps in the order
shown will prevent false triggering of a wake-up/interrupt
condition.
1. Clear the WK0ENA and WK1ENA registers to disable
2. If the MIWU channel comes from a GPIO pin, select the
3. Write the WK0EDG and WK1EDG registers to select
4. Set all bits in the WK0PCL and WK0PCL registers to
5. Set up the WK0ICTL1, WK1ICTL1, WK0ICTL2, and
6. Set the bits in the WK0ENA and WK1ENA registers
1. Clear the WK0ENA or WK1ENA bit associated with the
2. Write the new value to the corresponding bit position in
3. Set the corresponding bit in the WK0PCL or WK1PCL
4. Set the same WK0ENA or WK1ENA bit to re-enable the
wake-up events from the MIWU channels. Clear the
WK0IENA and WK1IENA registers to disable interrupt
requests from the MIWU channels.
appropriate alternate function.
the desired type of edge sensitivity (clear for rising
edge, set for falling edge).
clear any pending bits in the WK0PND and WK1PND
registers.
WK1ICTL2 registers to define the interrupt request sig-
nal used for each channel.
corresponding to the wake-up channels to be activated.
input to be reprogrammed.
the WK0EDG or WK1EDG register to reprogram the
edge sensitivity of the input.
register to clear the pending bit in the WK0PND or
WK1PND register.
wake-up function.
PROGRAMMING PROCEDURES
68

Related parts for cp3ub26