công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

UM0851 bảng dữ liệu(PDF) 110 Page - STMicroelectronics

tên linh kiện UM0851
Giải thích chi tiết về linh kiện  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 bảng dữ liệu(HTML) 110 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 106Page - STMicroelectronics UM0851 Datasheet HTML 107Page - STMicroelectronics UM0851 Datasheet HTML 108Page - STMicroelectronics UM0851 Datasheet HTML 109Page - STMicroelectronics UM0851 Datasheet HTML 110Page - STMicroelectronics UM0851 Datasheet HTML 111Page - STMicroelectronics UM0851 Datasheet HTML 112Page - STMicroelectronics UM0851 Datasheet HTML 113Page - STMicroelectronics UM0851 Datasheet HTML 114Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 110 / 245 page
background image
Communication device drivers
UM0851
110/245
Doc ID 16604 Rev 2
4.9.6
Netlink interface for the CAN driver
The CAN network device driver interface provides a generic interface to setup, configure
and monitor CAN network devices, via the netlink interface using the program "ip" from the
"IPROUTE2" utility suite.
The supported netlink message types are defined and briefly described in
`include/linux/can/netlink.h` for CAN network device drivers. The following section of this
document describes briefly how to use this with a CAN interface can0:
Set/Get devices properties using Netlink interface
●
To set CAN device properties:
ip link set can0 type can
●
To display CAN device details and statistics:
ip -details -statistics link show can0
●
To set the CAN bit-timing:
CAN bit-timing parameters can always be defined in a hardware independent format as
proposed in the CAN 2.0 specification specifying the arguments `tq`, `prop_seg`,
`phase_seg1`, `phase_seg2` and `sjw`:
ip link set can0 type can tq 125 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
●
To set the CAN device bit-rate:
ip link set can0 type can bitrate 125000
Starting and stopping a device using Netlink interface
●
To start a CAN network device:
ip link set can0 up
OR
ifconfig can0 up
●
To stop a CAN network device:
ip link set can0 down
OR
ifconfig can0 down
4.9.7
Kernel configuration options
The following table contains the options that can be enabled in the kernel to support CAN in
the SPEAr LSP.
Table 35.
CAN menuconfig kernel options
Configuration option
Comment
CONFIG_CAN_CCAN
Bosch C_CAN device
CONFIG_CAN_SPEAR
SPEAr CAN device driver
CONFIG_CAN
CAN support in linux kernel
CONFIG_CAN_RAW
Raw CAN Protocol (raw access with CAN-ID filtering)
CONFIG_CAN_BCM
Broadcast Manager CAN Protocol (with content filtering)



Html Pages

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  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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