ST7FLITE25F1B6 STMicroelectronics, ST7FLITE25F1B6 Datasheet - Page 169

IC MCU 8BIT 8K FLASH 20-DIP

ST7FLITE25F1B6

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

Specifications of ST7FLITE25F1B6

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 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:
ST7FLITE25F1B6
Manufacturer:
ST
0
EXAMPLE:
The following C program shows the use of the PWMART functions.
Program description:
This program detects the event (rising edge) at ARTIC1 pin and generates the PWM signal of
frequency 50KHz with duty cycle 33% on the PWM1 pin for ST72F521 device with a 4MHz ex-
ternal clock. The output compare signal is obtained on the PWM2 pin.
/* Program start */
#include "ST7lib_config.h"
//prototype declaration
void PWMART_IT_Routine(void);
void main(void);
void main(void)
{
}
/* ----------------------------------------------------------------------------
ROUTINE NAME : PWMART_IT_Routine
INPUT
OUTPUT
DESCRIPTION : Interrupt service routine
COMMENTS
unsigned char Counter_Data = 0xB0;
unsigned char Compare_Data = 0xCA;
unsigned char DutyCycle_Data = 0xCA;
IO_Input (IO_FLOATING,IO_PORT_B,((unsigned char)IO_PIN_4 |
PWMART_Init( ((unsigned char)PWMART_EXCLK |
EnableInterrupts
PWMART_Counter_Enable(PWMART_REG_ARR,Counter_Data,PWMART_CLK_1);
PWMART_OCMP_Mode(PWMART_OCMP_2,PWMART_POLARITY_0,Compare_Data);
PWMART_ICAP_Mode(PWMART_ICAP_1,((unsigned char)PWMART_SENSITIVITY_R |
PWMART_PWM_Mode(PWMART_1,PWMART_POLARITY_0,DutyCycle_Data);
while(1);
interrupt is enabled. If the same functions are called in the
: None
: None
: This gets automatically executed when any of the PWMART
((unsigned char)IO_PIN_5 | (unsigned char)IO_PIN_6)));
(unsigned char)PWMART_OVF_IT_ENABLE));
/* To detect rising edge at capture1,capture1 interrupt enable */
(unsigned char)PWMART_ICAP1_IT_ENABLE));
/* Initialise the timer with external clock frequency
/* ARTIC1,ARTIC2,ARTCLK as floating input */
/* Macro defined in st7lib_config.h */
/* Output compare signal on PWM2 pin */
/* Autoload the counter with ARR */
and overflow interrupt enabled */
/* clear I bit in CC register */
/* PWM signal on PWM1 pin */
Function Descriptions
/* Select ST72F521 */
/* For testing only */
169/235

Related parts for ST7FLITE25F1B6