| 전자부품 데이터시트 검색엔진 |
|
M37702S1AFP 데이터시트(PDF) 33 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M37702S1AFP 데이터시트(HTML) 33 Page - Renesas Technology Corp |
|
33 / 60 page ![]() 32 MITSUBISHI MICROCOMPUTERS M37702M2AXXXFP, M37702M2BXXXFP M37702S1AFP, M37702S1BFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Bit 6 is the parity bit selection bit which indicates whether to add parity bit or not. Bits 4 to 6 should be set or reset according to the data format of the communicating devices. Bit 7 is the sleep selection bit. The sleep mode is described later. The UARTi transmit/receive control register 0 bit 2 is used to de- ____ ____ termine whether to use CTSi input or RTSi output. ____ ____ CTSi input is used if bit 2 is “0” and RTSi output is used if bit 2 is “1”. ____ If CTSi input is selected, the user can control whether to stop or ____ ____ start transmission by external CTSi input. RTSi will be described later. Transmission Transmission is started when the bit 0 (TEi flag) of UARTi transmit/ ____ receive control register 1 is “1”, the bit 1 (TIi flag) is “0”, and CTSi ____ input is “L” if CTSi input is selected. As shown in Figure 40 and 41, data is output from the TxDi pin with the stop bit and parity bit specified by the bits 4 to 6 of UARTi transmit/receive mode regis- ter. The data is output from the least significant bit. The TIi flag indicates whether the transmission buffer is empty or not. It is cleared to “0” when data is written in the transmission buffer and set to “1” when the contents of the transmission buffer register is transferred to the transmission register. When the transmission register becomes empty after the contents has been transmitted, data is transferred automatically form the transmission buffer register to the transmission register if the next transmission start condition is satisfied. ____ Once transmission has started, the TEi flag, TIi flag, and CTSi sig- ____ nal (if CTSi input is selected) are ignored until data transmission is completed. Therefore, transmission does not stop until it completes even if the TEi flag is cleared during transmission. The transmission start condition indicated by TEi flag, TIi flag, and ____ CTSi is checked while the TENDi signal shown in Figure 40 is “H”. Therefore, data can be transmitted continuously if the next trans- mission data is written in the transmission buffer register and TIi flag is cleared to 0 before the TENDi signal goes “H”. The bit 3 (TxEPTYi flag) of UARTi transmit/receive control register 0 changes to “1” at the next cycle after the TENDi signal goes “H” and changes to “0” when transmission starts. Therefore, this flag can be used to determine whether data transmission is completed. When the TIi flag changes from “0” to “1”, the interrupt request bit in the UARTi transmission interrupt control register is set to “1”. Receive Receive is enabled when the bit 2 (REi flag) of UARTi transmit/re- ceive control register 1 is set. As shown in Figure 42, the frequency divider circuit at the receiving end begin to work when a start bit is arrived and the data is received. Fig. 42 Receive timing example when 8-bit asynchronous communication with no parity and 1 stop bit is selected. fi or fEXT D0 REi RxDi Receive Clock RIi RTSi Start bit D1 Stop bit D7 Start bit Starting at the falling edge of start bit Check to be “L” level Get data |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |