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

X  

UM0459 bảng dữ liệu(PDF) 12 Page - STMicroelectronics

tên linh kiện UM0459
Giải thích chi tiết về linh kiện  ST10F27xZx CAN library
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0459 bảng dữ liệu(HTML) 12 Page - STMicroelectronics

Back Button UM0459 Datasheet HTML 8Page - STMicroelectronics UM0459 Datasheet HTML 9Page - STMicroelectronics UM0459 Datasheet HTML 10Page - STMicroelectronics UM0459 Datasheet HTML 11Page - STMicroelectronics UM0459 Datasheet HTML 12Page - STMicroelectronics UM0459 Datasheet HTML 13Page - STMicroelectronics UM0459 Datasheet HTML 14Page - STMicroelectronics UM0459 Datasheet HTML 15Page - STMicroelectronics UM0459 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 29 page
background image
Controller area network (CAN) routines
UM0459
12/29
2.2.4
CAN_EnterTestMode function
TestMask
Specifies the CAN configuration in test modes. The different values are given in the
following table:
Example:
This example illustrates how to switch the CAN1 into loopback mode, that is, RX is
disconnected from the bus, and TX is internally linked to RX.
{
CAN_EnterTestMode(CAN1, CAN_TESTR_LBACK);
}
Table 7.
CAN_EnterTestMode function description
Function
CAN_EnterTestMode
Prototype
void CAN_EnterTestMode(CAN_TypeDef* CAN, u16 TestMask);
Behavior description
Switches the CAN into test mode. It sets the TEST bit in the control
register and updates the Test register by storing its value with the mask.
This function must be used in conjunction with CAN_LeaveTestMode().
Input parameter1
CAN: pointer to the CAN1 or CAN2 CAN cell.
Input parameter2
TestMask: specifies the configuration in test modes.
Refer to the TestMask on page 12 section for more details on the
authorized values for this parameter.
Output parameter
None
Return value
None
Required preconditions
None
Called functions
None
Table 8.
TestMask values
TestMask
Meaning
CAN_TESTR_LBACK
Loopback mode enabled
CAN_TESTR_SILENT
Silent mode enabled
CAN_TESTR_BASIC
Basic mode enabled



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


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