cp3cn23 National Semiconductor Corporation, cp3cn23 Datasheet - Page 66

no-image

cp3cn23

Manufacturer Part Number
cp3cn23
Description
Cp3cn23 Reprogrammable Connectivity Processor With Dual Can Interfaces
Manufacturer
National Semiconductor Corporation
Datasheet
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. Write the WK0EDG and WK1EDG registers to select
3. Set all bits in the WK0PCL and WK0PCL registers to
4. Set up the WK0ICTL1, WK1ICTL1, WK0ICTL2, and
5. 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
the MIWU channels.
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
66

Related parts for cp3cn23