AN1965 Freescale Semiconductor / Motorola, AN1965 Datasheet - Page 12

no-image

AN1965

Manufacturer Part Number
AN1965
Description
Design of Indirect Power Using the 56F800/E
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Software Design
6.3 State Diagram
6.3.1 Application State Machine
12
invokes function from the Milestone Callback Table, which performs calculation and correction of
PFC reference value or activates inhibit output. This procedure allows easy modification of the
sequence of events.
PFC control operates from event handlers and excludes peripheral initialization and DCBus voltage
measurement. The PFC control is developed to easily incorporate motor control applications. The
Main routine calls to the PFC initialization function and passes the value of the DCBus voltage to PFC
control, allowing measurement of DCBus voltage with different sample rates and ADC modes. This
application demonstrates initialization and use of PFC control.
The Main routine provides:
Initialization of the Analog-to-Digital Converter
Initialization of the Timer
Initialization of the Switch and LEDs
Initialization of Brake control
Initialization of the PFC routine call
Application main loop
Freescale Semiconductor, Inc.
For More Information On This Product,
Indirect Power Factor Correction
Go to: www.freescale.com

Related parts for AN1965