Web Analytics
Datasheet 搜索 > 微控制器 > ST Microelectronics(意法半导体) > STM32F100V8T6B 数据手册 > STM32F100V8T6B 开发手册 4/34 页
STM32F100V8T6B
器件3D模型
29.493
导航目录
  • 应用领域在P34
STM32F100V8T6B数据手册
Page:
of 34 Go
若手册格式错乱,请下载阅览PDF原文件
Generic solution AN3174
4/34 Doc ID 17249 Rev 2
2 Generic solution
Each Infrared protocol can be decoded using one of the timer peripherals embedded in the
STM32 microcontroller. This timer can be configured in PWM input mode and used to
sample the Infrared frame bits. The timer input capture function is active on edges with
opposite polarity.
The timer generates three types of interrupt:
Interrupt at each falling edge: This can be used to measure the whole pulse (duration
between two successive falling edges).
Interrupt at each rising edge: This can be used to measure the low pulse (duration
between falling and rising edges).
Update event: This is used to put the Infrared packet into default state (Bit count, Data
and Status) when the Timer counter overflows.
The low pulse and the whole pulse duration are used to determine the bit value. If the
durations are within the tolerance range of the bit time, we identify the bit value (Logic0,
Logic1 or Header).
The flowchart below gives an overview of the Infrared decoding procedure.
Figure 2. Infrared decoding flowchart
)NITIALIZATION4IMER IN
07-)MODE
4IMERINTERRUPT
&ALLINGEDGE 2ISINGEDGE
4EST-ARGIN
TOLERANCE
.
.
7HOLEPULSE
-EASUREMENT
,OWPULSE
-EASUREMENT
5PDATE%VENT
2ESET THE )NFRARED
0ACKET
9ES
"IT)DENTIFICATION
)NCREMENTBITCOUNT
4EST" IT
#OUNT
$ECODE)NFRAREDFRAME
FIELDS
%RROR
2ESET THE )NFRARED
0ACKET
2ESET THE )NFRARED
0ACKET
-36

STM32F100V8T6B 数据手册

ST Microelectronics(意法半导体)
95 页 / 1.51 MByte
ST Microelectronics(意法半导体)
30 页 / 0.35 MByte
ST Microelectronics(意法半导体)
4 页 / 0.22 MByte
ST Microelectronics(意法半导体)
34 页 / 0.57 MByte
ST Microelectronics(意法半导体)
11 页 / 0.09 MByte
ST Microelectronics(意法半导体)
9 页 / 0.02 MByte

STM32F100V8T6 数据手册

ST Microelectronics(意法半导体)
STMICROELECTRONICS  STM32F100V8T6B  微控制器, 32位, 线路接入, ARM 皮质-M3, 24 MHz, 64 KB, 8 KB, 100 引脚, LQFP
ST Microelectronics(意法半导体)
低和中等密度值线,先进的基于ARM的32位MCU低和中等密度值线,先进的基于ARM的32位MCU Low & medium-density value line, advanced ARM-based 32-bit MCU Low & medium-density value line, advanced ARM-based 32-bit MCU
ST Microelectronics(意法半导体)
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件