| Moteur de recherche de fiches techniques de composants électroniques |
|
AN4099 Fiches technique(PDF) 17 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4099 Fiches technique(HTML) 17 Page - STMicroelectronics |
|
17 / 39 page ![]() AN4099 Infrared transmitter Doc ID 023110 Rev 2 17/39 SIRC encoding library The SIRC encoder driver is based on the following functions. SIRC12_Encode_Init() This function initializes the different peripherals (GPIO, TIMER, NVIC,...). SIRC12_Encode_SendFrame() This function sends the pulse width modulation of the SIRC12 Frame format. SIRC12_Encode_SignalGenerate() This function generates the frame signal by monitoring the output level of TIM16. It is called in the TIM16 update interrupt to handle the output signal. 2.2.4 How to use the SIRC encoder driver To use the SIRC encoder driver, proceed as follows. – Call the function SIRC12_Encode_Init() to configure the timer and GPIO hardware resources needed for SIRC encoding. – Call the function SIRC12_Encode_SendFrame() to send the SIRC frame. – TIM16 Update interrupts are used to encode the SIRC frame in pulse width modulation. |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| 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 |