ST7FLITE20F1B6 STMicroelectronics, ST7FLITE20F1B6 Datasheet - Page 33

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
Table 6. ADC_Disable
Example:
The following C program shows the use of the ADC functions.
Program description:
This program converts the analog value on channel 5 of the ST72F62 device to a digital value.
/* Program start */
#include “st7lib_config.h”
void main (void);
void main(void)
{
}
/* Program end */
Function Name
Function Prototype
Behaviour Description
Input Parameters
Output Parameters
Required Preconditions
Functions called
Postconditions
See also
unsigned int Conv_Data1;
unsigned char channel = 5;
ADC_Init ((unsigned char )ADC_SPEED | (unsigned char )ADC_ONESHOT); /* FADC= FCPU/4 */
ADC_Select_Channel (channel);
ADC_Enable ();
while (ADC_Test_Conversn_Complete () == FALSE);
Conv_Data1 = ADC_Conversn_Read ();
ADC_Disable () ;
Nop;
ADC_Disable
Void ADC_Disable (void)
Stops ADC conversion on the selected channel.
None
None
ADC is switched on
None
ADC switched off
ADC_Enable
/* Variable to get the converted digital value
/* Macro defined in st7lib_config.h
/* Select st72F62 device
/* Read the converted value */
Function Descriptions
/* Channel 5 selected */
/* Start conversion */
33/235
*/
*/
*/

Related parts for ST7FLITE20F1B6