盛群单片机简介.ppt
《盛群单片机简介.ppt》由会员分享,可在线阅读,更多相关《盛群单片机简介.ppt(59页珍藏版)》请在优知文库上搜索。
1、2023/4/2Introduction of Holtek HT-46series MCU2023/4/2ContentFamily of A/D Type MCUi.Cost-Effective A/D type MCUii.A/D type MCUiii.A/D with LCD type MCUiv.A/D with VFD type MCUDetail of HT46R24i.Features of HT46R24ii.Block Diagramiii.Function Description(ROM, RAM, Interrupt, I/O, Timer, Buzzer, Osci
2、llator, ADC, I2C, PWM, .)2023/4/2Cost-Effective A/D Type MCU2023/4/2A/D Type MCU2023/4/2A/D with LCD Type MCU2023/4/2Features of HT46R242023/4/2Block Diagram2023/4/2HT46X24 PIN ASSIGMENT2023/4/2Program ROM and Interrupt Vector2023/4/2RAM MAPPINGSpecial Purpose Data Memory General Purpose Data Memory
3、 00h IAR0 10h TMR1L 20h HADR 01h MP0 11h TMR1C 21h HCR 02h IAR1 12h PA 22h HSR 03h MP1 13h PAC 23h HDR 04h BP 14h PB 24h ADRL 05h ACC 15h PBC 25h ADRH 06h PCL 16h PC 26h ADCR 07h TBLP 17h PCC 27h ACSR 08h TBLH 18h PD 28h PF 09h N.A. 19h PDC 29h PFC 0ah STATUS 1ah PWM0 0bh INTC0 1bh PWM1 0ch TMR0H 1c
4、h PWM2 0dh TMR0L 1dh PWM3 0eh TMR0C 1eh INTC1 0fh TMR1H 1fh N.A. 2ah . . . . 3fh N.A. 40h . . . . . . . . . . . . . . . ffh BANK 0 40h . . . . . . . . . . . . . . . ffh BANK 1 2023/4/263 InstructionsArithmeticlADD, SUBIncrement & DecrementlINC, INCA, DECLogic OperationlAND, OR, XORRotatelRR, RRC, RL
5、Data MovelMOVBit operationlSET, CLRTable ReadlTABRDC, TABRDLBranchlJMP, SZ, RET, RETIMiscellaneouslNOP, SWAP, HALT2023/4/2Arithmetic 2023/4/2Logic 2023/4/2Increment, Decrement, Rotate, Data Move, Bit Operation 2023/4/2Branch 2023/4/2Table Read ,Miscellaneous 2023/4/2Indirect AddressingIndirect addre
6、ssing Register:lIRA0,IRA1.Memory Pointers:lMP0,MP1.2023/4/2Status Register2023/4/2I/O Structure 2023/4/2InterruptInterrupt has priority issue.Once an interrupt subroutine is serviced, all the other interrupts will be block ( by cleaning the EMI flag).After the subroutine set the “RETI”, the EMI will
7、 be set again.2023/4/2Interrupt control register2023/4/2Interrupt Scheme2023/4/2Timer/Event Counter 02023/4/2Timer/Event Counter 12023/4/2Timer Control Register 02023/4/2Timer Control Register 12023/4/23 modes available for the Timer/Counter 1.Timer Mode 2.Event Counter Mode 3.Pulse Width Mode 2023/
8、4/24 steps to setup in the Timer Mode 1.Set to Timer Mode by writing 10 to TM1, TM0 2.Set the initial timer TMR value 3.Enable the corresponding interrupt by setting the ETI and EMI bit 4.Start the Timer by setting the TON bit of the TMRC 2023/4/25 steps to setup in the Even Counter Mode 1.Set to Ev
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 单片机 简介