| Electronic Components Datasheet Search |
|
STM32W108CB Datasheet(PDF) 118 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM32W108CB Datasheet(HTML) 118 Page - STMicroelectronics |
|
118 / 278 page ![]() Serial interfaces STM32W108HB STM32W108CC STM32W108CB STM32W108CZ 118/278 Doc ID 16252 Rev 14 9.5.3 Interrupts I2C master controller interrupts are generated on the following events: ● Bus command (START/STOP) completed (0 to 1 transition of CMDFIN) ● Character transmitted and slave device responded with NACK ● Character transmitted (0 to 1 transition of BTF) ● Character received (0 to 1 transition of BRF) ● Received and lost character while receive FIFO was full (receive overrun error) ● Transmitted character while transmit FIFO was empty (transmit underrun error) To enable CPU interrupts, set the desired interrupt bits in the second level SCx_IER register. 9.6 Universal asynchronous receiver/transmitter (UART) The SC1 UART is enabled by writing 1 to SC1_CR. The SC2 serial controller does not include UART functions. The UART supports the following features: ● Flexible baud rate clock (300 bps to 921.6 bps) ● Data bits (7 or 8) ● Parity bits (none, odd, or even) ● Stop bits (1 or 2) ● False start bit and noise filtering ● Receive and transmit FIFOs ● Optional RTS/CTS flow control ● Receive and transmit DMA channels The UART uses two signals to transmit and receive serial data: ● TXD (Transmitted Data) - serial data received by the STM32W108 ● RXD (Received Data) - serial data sent by the STM32W108 If RTS/CTS flow control is enabled, these two signals are also used: ● nRTS (Request To Send) - indicates the STM32W108 is able to receive data RXD ● nCTS (Clear To Send) - inhibits sending data from the STM32W108 if not asserted The GPIO pins assigned to these signals are shown in Table 28. Direction GPIO configuration SC1 pin Table 28. UART GPIO usage Parameter TXD RXD nCTS(1) 1. Only used if RTS/CTS hardware flow control is enabled. nRTS(1) Output Input Input Output Alternate Output (push-pull) Input Input Alternate Output (push-pull) PB1 PB2 PB3 PB4 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |