ST7FLITE20F1B6 STMicroelectronics, ST7FLITE20F1B6 Datasheet - Page 185

IC MCU 8BIT 8K FLASH 20-DIP

ST7FLITE20F1B6

Manufacturer Part Number
ST7FLITE20F1B6
Description
IC MCU 8BIT 8K FLASH 20-DIP
Manufacturer
STMicroelectronics
Series
ST7r
Datasheets

Specifications of ST7FLITE20F1B6

Core Processor
ST7
Core Size
8-Bit
Speed
8MHz
Connectivity
SPI
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
384 x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 5.5 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-DIP (0.300", 7.62mm)
Processor Series
ST7FLITE2x
Core
ST7
Data Bus Width
8 bit
Development Tools By Supplier
ST7FLITE-SK/RAIS, ST7MDT10-DVP3, ST7MDT10-EMU3, STX-RLINK
For Use With
497-5858 - EVAL BOARD PLAYBACK ST7FLITE497-5517 - EVAL BOARD 1PHASE ENERGY METER497-5049 - KIT STARTER RAISONANCE ST7FLITE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST7FLITE20F1B6
Manufacturer:
ST
0
EXAMPLE:The following C program shows the use of the LART functions.
Program description:
This program generates a PWM signal with a 10KHz frequency and with a 30% Duty cycle and
toggles an LED every second (Fcpu=8MHz ).
/* Program start */
#include "ST7lib_config.h"
/* prototype declaration */
void LART_OVF_IT_Routine(void);
void main(void);
static unsigned int count;
void main(void)
{
}
/* ----------------------------------------------------------------------------
#ifdef _HIWARE_
#pragma TRAP_PROC SAVE_REGS
#else
#ifdef _COSMIC_
@interrupt @nostack
#else
#error "Unsupported Compiler!"
#endif
#endif
ROUTINE NAME : LART_OVF_IT_Routine
INPUT
OUTPUT
DESCRIPTION : Interrupt service routine for Overflow interrupt
COMMENTS
-----------------------------------------------------------------------------*/
IO_Output(IO_PUSH_PULL,IO_PORT_B,IO_PIN_3);
/* Select Fcpu as counter clock & enable overflow interrupts
LART_Init( ((unsigned char)LART_COUNTER_CLK_FCPU |
EnableInterrupts
/* Load ATR and DCR to get PWM signal of 10 KHz and duty cycle of 30%
LART_PWM_Mode((unsigned int)0xCE0, LART_POLARITY_0,(unsigned int)0xDD0);
while(1);
LART is enabled. If the same functions are called in the
main Tree and the interrupt Tree, the function Re-entrant error
occurs in case COSMIC compiler is used with models other than
stack models.
For configuring the port pins,I/O library is used.
: None
: None
: This gets automatically executed when OVF interrupt of the
(unsigned char)LART_OVF_IT_ENABLE ));
/* Additional registers will be saved */
/* Test for Metrowerks Compiler */
/* Compiler Defines not found! */
/* Port PB3 as pushpull output */
/* Clear I bit in CC register */
/* Test for Cosmic Compiler */
/* Generate PWM at PWM0 pin */
Function Descriptions
/* Select ST7FLITE0 */
*/
*/
185/235

Related parts for ST7FLITE20F1B6