在便携式音频播放器、MP3播放器、便携式导航设备(PND)等带有音频播放功能的便携式设备中,经常会用到一些调频发射机来实现音频发射功能。当PND中需要该功能模块的时候,鉴于PND的软件环境,有必要为该模块编写一些驱动程序,以保证调频发射功能的正常运行。本文研究的是,在Samsung公司提供的S3C2440(ARM9内核)的开发板上,为一个PND设备的调频发射机(SN761634)写一个基于Windows CE5.0的驱动程序。试验结果测试表明,该驱动程序可以保证SN761634在PND设备中正常集成运行。同时,本文还提供了一套完整、详细的Windows CE流驱动设计方案,可以借鉴用于其他基于IIC总线设备的流驱动开发。
With audio playing function, some devices, such as Portable Audio Player,MP3 Player, Portable Navigation Devices (PND) and so on, usually work together with some FM transmitter to transmit some special FM signal. When a PND need a audio playing function with it, on the basis of the PND's software environment, in order to make sure that the FM transmitter can work smoothly, it's necessary to develop some device drivers for it. What this article talks about is, making use of the Samsung's S3C2440 (ARM9 Kernel) to program a driver for a PND FM transmitter.The results of the experiment show that the driver can make sure FM transmitter work normally. Meanwhile, this article also has provided a completed and detailed design method for some programmers to develop other streams driver based on IIC bus.