Electronic Components Datasheet Search
  English  ▼

X  

AN4099 Datasheet(PDF) 35 Page - STMicroelectronics

Part # AN4099
Description  Implementing transmitters and receivers for infrared remote control protocols using STM32F0xx and STM32F3xx microcontrollers
PDF  39 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4099 Datasheet(HTML) 35 Page - STMicroelectronics

Back Button AN4099 Datasheet HTML 31Page - STMicroelectronics AN4099 Datasheet HTML 32Page - STMicroelectronics AN4099 Datasheet HTML 33Page - STMicroelectronics AN4099 Datasheet HTML 34Page - STMicroelectronics AN4099 Datasheet HTML 35Page - STMicroelectronics AN4099 Datasheet HTML 36Page - STMicroelectronics AN4099 Datasheet HTML 37Page - STMicroelectronics AN4099 Datasheet HTML 38Page - STMicroelectronics AN4099 Datasheet HTML 39Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 35 / 39 page
background image
AN4099
Interface layer
Doc ID 023110 Rev 2
35/39
Note:
IR refers to the name of the IR protocol. For example, SIRC_HEADER_LOW_MIN_US.
Change the IR protocol frame field in IR_Frame_TypeDef structure.
typedef struct
{
/* Structure of the IR frame ( Address, Command,....)*/
} IR_Frame_TypeDef;
in the sirc_decode.c file, add the appropriate IR_Commands and IR_devices
tables for the IR protocol.
4.2.2
IR transmitter drivers
To include an infrared encoder driver based on the IRTIM solution in a user application you
must:
1.
Add the header file of the appropriate IR protocol to your project.
Example: rc5_encode.h.
2.
Add the file.c corresponding to the IR protocol to your project.
Example: rc5_encode.c.
3.
Call the protocol initiation function in the main()
Example: RC5_Encode_Init();
4.
Add the TIMx interrupt functions to stm32f0xx_it.c or stm32f3xx_it.c.
Example:
void TIM16_IRQHandler(void)
{
RC5_Encode_SignalGenerate(RC5_FrameManchestarFormat);
/* Clear TIM16 update interrupt */
TIM_ClearITPendingBit(TIM16, TIM_IT_Update);
}
IR_VALUE_MARGIN_US
Margin in µs
100
IR_VALUE_00_US
Bit0 duration in µs
1200
Table 6.
List of defines in the header file for the IR protocol parameters
Defines
Meaning
Example settings for
SIRC protocol



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com