| Electronic Components Datasheet Search |
|
AN1278 Datasheet(PDF) 17 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1278 Datasheet(HTML) 17 Page - STMicroelectronics |
|
17 / 44 page ![]() 17/44 LIN (LOCAL INTERCONNECT NETWORK) SOLUTIONS #define SCI #define LIN_PORT_ADD #define LIN_RX_PINNB Example: ST72-104/215/216/254 MCU family #define UART_TIMERA, UART_TIMERB or SCI Description Define only one of these options. Define UART_TIMERA or UART_TIMERB if you use a mi- crocontroller without SCI and depending on the tim- er you want to use. The serial communication will be emulated by software with a timer. If you use a microcontroller with an on-chip SCI, define SCI. The hardware SCI peripheral will be used. #define LIN_PORT_ADD Description Needs to be defined only if UART_TIMERA or UART_TIMERB is defined. Set which pin is the LIN RX pin. This symbol should be set to the address of the data register of the I/O port linked to the LIN RX pin (PC3>set address of PCDR register). #define LIN_RX_PINNB Description Needs to be defined only if UART_TIMERA or UART_TIMERB is defined. Set which pin is the LIN RX pin. This symbol should be set to the number of the pin linked to the LIN RX pin (PC3>set 3). SCI emulated by Timer A SCI emulated by Timer B LIN RX on IC1 LIN RX on IC2 LIN RX on IC1 LIN RX on IC2 LIN RX is pin: PB0 (Port B pin 0) PB2 (Port B pin 2) PC0 (Port C pin 0) PC3 (Port C pin 3) LIN_PORT_ADD 0x04 0x04 0x00 0x00 LIN_RXC_PINNB 0203 |
|
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 |