参数资料
型号: S1C17651B00E10K
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
文件页数: 29/216页
文件大小: 1784K
代理商: S1C17651B00E10K
第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页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页
15 UART
15-8
Seiko Epson Corporation
S1C17651 TECHNICAL MANUAL
UART Interrupts
15.7
The UART includes a function for generating the following four different types of interrupts.
Transmit buffer empty interrupt
End of transmission interrupt
Receive buffer full interrupt
Receive error interrupt
The UART outputs one interrupt signal shared by the four above interrupt causes to the interrupt controller (ITC).
Inspect the status flag and error flag to determine the interrupt cause occurred.
Transmit buffer empty interrupt
To use this interrupt, set TIEN/UART_CTLx register to 1. If TIEN is set to 1 while TDBE/UART_STx register
is 1 (transmit data buffer empty) or if TDBE is set to 1 (when the transmit data buffer becomes empty by load-
ing the transmit data written to it to the shift register) while TIEN is 1, an interrupt request is sent to the ITC.
An interrupt occurs if other interrupt conditions are met.
If TIEN is set to 0 (default), interrupt requests for this cause will not be sent to the ITC.
You can inspect the TDBE flag in the UART interrupt handler routine to determine whether the UART interrupt
is attributable to a transmit buffer empty. If TDBE is 1, the next transmit data can be written to the transmit data
buffer by the interrupt handler routine.
End of transmission interrupt
To use this interrupt, set TEIEN/UART_CTLx register to 1. If TEIEN is set to 0 (default), interrupt requests for
this cause will not be sent to the ITC.
When the TRBS flag is reset to 0, the UART sets TRED/UART_STx register to 1, indicating that the transmit
operation has completed. If end of transmission interrupts are enabled (TEIEN = 1), an interrupt request is sent
simultaneously to the ITC.
An interrupt occurs if other interrupt conditions are met. You can inspect the TRED flag in the UART interrupt
handler routine to determine whether the UART interrupt is attributable to an end of transmission. If TRED is 1,
the transmission processing can be terminated.
Receive buffer full interrupt
To use this interrupt, set RIEN/UART_CTLx register to 1. If RIEN is set to 0 (default), interrupt requests for
this cause will not be sent to the ITC.
If the specified volume of received data is loaded into the receive data buffer when a receive buffer full interrupt
is enabled (RIEN = 1), the UART outputs an interrupt request to the ITC. If RBFI/UART_CTLx register is 0,
an interrupt request is output as soon as one received data is loaded into the receive data buffer (when RDRY/
UART_STx register is set to 1). If RBFI is 1, an interrupt request is output as soon as two received data are
loaded into the receive data buffer (when RD2B/UART_STx register is set to 1).
An interrupt occurs if other interrupt conditions are met. You can inspect the RDRY and RD2B flags in the
UART interrupt handler routine to determine whether the UART interrupt is attributable to a receive buffer full.
If RDRY or RD2B is 1, the received data can be read from the receive data buffer by the interrupt handler rou-
tine.
Receive error interrupt
To use this interrupt, set REIEN/UART_CTLx register to 1. If REIEN is set to 0 (default), interrupt requests for
this cause will not be sent to the ITC.
The UART sets an error flag, PER, FER, or OER/UART_STx register to 1 if a parity error, framing error, or
overrun error is detected when receiving data. If receive error interrupts are enabled (REIEN = 1), an interrupt
request is sent simultaneously to the ITC.
If other interrupt conditions are satisfied, an interrupt occurs. You can inspect the PER, FER, and OER flags in
the UART interrupt handler routine to determine whether the UART interrupt was caused by a receive error. If
any of the error flags has the value 1, the interrupt handler routine will proceed with error recovery.
For more information on interrupt processing, see the “Interrupt Controller (ITC)” chapter.
相关PDF资料
PDF描述
S1C17651B00E10N 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
S1C17651D00E10B 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, UUC50
S1C17651D00E10G 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, UUC50
S1C17651D00E10J 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, UUC50
S1C17651D00E10K 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, UUC50
相关代理商/技术参数
参数描述
S1C17653 制造商:EPSON 制造商全称:EPSON 功能描述:16-bit Single Chip Microcontroller
S1C17701 制造商:EPSON 制造商全称:EPSON 功能描述:CMOS 16-bit Single Chip Microcontroller
S1C17701D101000 制造商:Seiko Instruments Inc (SII) 功能描述:EPSON 16BIT MCU
S1C17701F00B100 功能描述:16位微控制器 - MCU 16-bit 64KB Flash LCD 56x32 RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
S1C17701F00E100 功能描述:16位微控制器 - MCU 16-bit 64KB Flash LCD 56x32 RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT