This application report describes the use of Timer_A3 to decode RC5 and SIRC TV IR remote control signals. The decoder described in this report is interrupt-driven and operates a background function using specific features the Timer_A3. Only a small portion of the MSP430 CPU?s nonreal-time resources is used. Specific hardware bit-latching capabilities of the Timer_A3 module are used for real-time decoding of the IR data signal, independent and asynchronous to the CPU. CPU activity and power consumption are kept to an absolute minimum level. The Timer_A3 decoder implementation also allows other tasks to occur simultaneously if required. The solutions provided are written specifically for MSP430x11x(1) and MSP430x12x derivatives, but can be adapted to any other MSP430 incorporating Timer_A3. 電視遙控器設計基於MSP430
標簽: application describes Timer_A control
上傳時間: 2014-01-01
上傳用戶:qq21508895
The purpose of this example is to demonstrate that the functioning of External interrupts (INT0, INT1, INT4, INT5 and INT6) and how toset them up. This directory contains the frameworks fw.c, the test program extr_intr.c and the external interrupt service routines isr.c. This was compiled using micro vision2.
標簽: demonstrate functioning interrupts External
上傳時間: 2014-02-04
上傳用戶:Altman
NiosII的范例,包含Alarm、DMA、Fine-gained Flash Access驅動、HighResTimer、ISR、Simple Flash Access驅動、利用重載技巧實現最小代碼尺寸、字符模式設備7個范例,并有測試結果
上傳時間: 2016-02-17
上傳用戶:lht618
// 工程名稱: 61_SpeechClock // 功能描述: 61板程序示例--具有語音播報功能的電子鐘 // 使用61板上的三個按鍵控制報時和時間調整: // Key1 - 按一下播報年、月、日,再按一下播報時、分 // 長按Key1鍵達到1.5秒,則進入日期時間調整模式 // Key2 - 在調整模式下,使年、月、日、時、分、秒增加 // Key3 - 在調整模式下,使年、月、日、時、分、秒減小 // 涉及的庫: CMacro1016.lib // SacmV26e.lib // 組成文件: main.c, Sound.c, Clock.c, Clock_Speech.c, Clock_Adjust.c // Key.asm, hardware.asm, ISR.asm // A2000.h, Sound.h, Clock.h, Clock_Speech.h, Clock_Adjust.h, Key.h, SPCE061A.h, // 硬件連接: 61板自帶的三個按鍵已經連接在IOA0~IOA2上 // 維護記錄: 2006-8-30 v1.0
標簽: SpeechClock Key1 61 工程
上傳時間: 2016-03-07
上傳用戶:semi1981
定時中斷程序,源碼的注釋十分詳細,具體功能如下: 1.Frame 實現能有效降低VxWorks 內存管理內部/外部碎片的機制。 2. Frame 實現為系統提供軟定時器功能的機制,定時器timeout 信息以message 或其他快捷有效方式通知定時器申請者(Task)。 3. 參考實驗一要求,系統中每個Task 擁有自己的Message Queue,以此方式作為系統的消息驅動基礎。 4. 系統中各Task 應使用同一類型框架,即統一的Task 框架。 5. 系統內實體(Task/ISR)間傳遞的消息應有統一格式(消息頭+消息體),可分短消息和長消息,但消息頭須至少包含消息ID。系統內所有消息均有其唯一ID 標識。
上傳時間: 2016-04-02
上傳用戶:BOBOniu
PDIUSBD12 是一款帶有并行總線和局部DMA傳輸能力的高速USB 接口器件固件設計的目標就是 使PDIUSBD12 在USB 上達到最大的傳輸速率外圍設備例如打印機掃描儀外部的海量存儲器和數碼 相機都可使用PDIUSBD12 在USB 上傳輸數據這些設備的CPU 要忙于處理許多設備控制和數據以及圖像 處理等任務PDIUSBD12 的固件設計成完全的中斷驅動當CPU 處理前臺任務時USB 的傳輸可在后臺 進行這就確保了最佳的傳輸速率和更好的軟件結構同時簡化了編程和調試 后臺ISR 中斷服務程序和前臺主程序循環之間的數據交換通過事件標志和數據緩沖區來實現例 如PDIUSBD12 的批量輸出端點可使用循環的數據緩沖區當PDIUSBD12 從USB 收到一個數據包那 么就對CPU 產生一個中斷請求CPU 立即響應中斷在ISR中固件將數據包從PDIUSBD12 內部緩沖區 移到循環數據緩沖區并在隨后清零PDIUSBD12 的內部緩沖區以使能接收新的數據包CPU 可以繼續它當 前的前臺任務直到完成例如打印當前頁然后返回到主循環檢查循環緩沖區內是否有新的數據并開始其 它的前臺任務
上傳時間: 2016-04-10
上傳用戶:13160677563
This example demonstrates how the C8051F06x SMBus interface can communicate // with a 256 byte I2C Serial EEPROM (Microchip 24LC02B). // - Interrupt-driven SMBus implementation // - Only master states defined (no slave or arbitration) // - Timer4 used by SMBus for SCL low timeout detection // - SCL frequency defined by <SMB_FREQUENCY> constant
標簽: demonstrates communicate C8051F06x interface
上傳時間: 2016-04-12
上傳用戶:hanli8870
Title: DK3200_RS232_IAP(upsd32XX) Project Name: DK3200_RS232_IAP Description: In-Application-Programming Driven by RS232 demonstration program
標簽: In-Application-Prog 3200 Description 232
上傳時間: 2016-05-27
上傳用戶:kikye
GNU ccScript is a C++ class framework for creating a virtual machine execution system for use with and as a scripting/assembler language for state-transition driven realtime systems. The most common example of this is as the core of the scripting engine found in GNU Bayonne.
標簽: framework for execution ccScript
上傳時間: 2013-12-18
上傳用戶:sssl
基于VxWorks操作系統的TM1300視頻采集卡驅動程序的設計.pdf 在視頻采集卡的硬件結構原理簡單介紹后,作者就TM1300視頻采集卡在VxWorks操作系統下的驅動程序的設計進行詳細的淪述 驅動的結構主要包括3個部分:初始化部分,函數功能部分和中斷服務程吁ISR
上傳時間: 2013-12-26
上傳用戶:維子哥哥