ST92E163-EPB/US STMicroelectronics, ST92E163-EPB/US Datasheet - Page 140

no-image

ST92E163-EPB/US

Manufacturer Part Number
ST92E163-EPB/US
Description
KIT DEMO MASS STORAGE
Manufacturer
STMicroelectronics
Type
Microcontroller Programmerr
Datasheet

Specifications of ST92E163-EPB/US

Contents
Programmer, Cable, Power Supply, Software, Manual and more
For Use With/related Products
ST9 MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST92E163-EPB/US
Manufacturer:
ST
0
ST92163R4 - USB PERIPHERAL (USB)
140/230
Example code for Entering Suspend Mode
void Stop_MCU()
{
}
Example code for sending a RESUME signal
void Remotewakeup()
{
CTLR &= ~CTRLP_SUSP;// Power on the USB transceiver
CTLR |= CTR_RESUME;// Send the RESUME signal
Delay between 1-15ms to keep the RESUME signal
CTLR &= ~CTR_RESUME;// Stop sending RESUME signal
ISTR &= ~INT_ESUSP;// Clear the wrong ESUSP
}
// Go to the loop to ensure the MCU goes to STOP
do {
} while (WU_CTLR & 0x04);
spp(15);
spp(0);
EIPR = 0x0;// Clear pending bits
spp(15);
CTLR |= CTR_TIM_SUSP;// Stop USB digital part
spp(57);
WU_WUPRH = 0;
WU_WUPRL = 0;
spp(15);
CTLR |= CTR_LP_SUSP;// Stop USB transceiver
spp(57);
WU_CTLR = 0x07;// Set STOP, IDS1 and WKUP-INT bits
WU_CTLR = 0x03;// Set IDS1 and WKUP-INT bit
WU_CTLR = 0x07;// Set STOP, IDS1 and WKUP-INT bits
NOP; NOP; NOP; NOP;
spp(57);
// Clear pending bits

Related parts for ST92E163-EPB/US