DM180021 Microchip Technology, DM180021 Datasheet - Page 40

KIT STARTER MPLAB FOR PIC18F MCU

DM180021

Manufacturer Part Number
DM180021
Description
KIT STARTER MPLAB FOR PIC18F MCU
Manufacturer
Microchip Technology
Series
MPLAB®r
Type
MCUr
Datasheets

Specifications of DM180021

Contents
Board, Cable, CD
Processor To Be Evaluated
PIC18F46J50
Processor Series
PIC18F
Interface Type
SPI
Operating Supply Voltage
3.3 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Core Number
PIC18F
Silicon Family Name
PIC18F4xxx
Kit Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC18Fxxxx
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM180021
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM180021
Manufacturer:
MICROCHIP
Quantity:
12 000
MPLAB Starter Kit for PIC18F User’s Guide
DS51852A-page 36
B.3.2
The AppPowerReady() function returns a BOOL data type that will return TRUE if the
soft start is complete or FALSE if it is not. This function should be called periodically
during the soft start to insure that the soft start continues ramping properly.
If APP_POWER_AUTO_ENABLE is defined, AppPowerReady() will automatically call
AppPowerEnable() if it is not already started. In light of the Total Application Current
Draw specification of 100 mA, this function should not be called until after the device is
enumerated. The application code that relies on components that are gated by the soft
start should wait until AppPowerReady() returns TRUE before running.
EXAMPLE B-1:
B.3.3
The AppPowerDisable() function turns the power off to the application. This func-
tion should be used when the device is going to go into Suspend mode in order to meet
the USB suspend current specification.
EXAMPLE B-2:
After the device resumes from suspend, the AppPowerEnable() and
AppPowerReady() functions are used again to restart the application power. In this
demo, that is done through the same calls in the ProcessIO() function that initially
powered the device on start-up.
// User Application USB tasks
if((USBDeviceState < CONFIGURED_STATE)||(USBSuspendControl==1))
// Soft Start the APP_VDD
if(AppPowerReady() == FALSE) return;
// The rest of the application code down here
// (once power is enabled).
void USBCBSuspend(void)
{
}
return;
//…
AppPowerDisable();
//…
Sleep();
//…
AppPowerReady()
AppPowerDisable()
USING AppPowerReady()TO CONTROL APPLICATION
START-UP
USING AppPowerDisable()
© 2009 Microchip Technology Inc.

Related parts for DM180021