数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

UM0459 数据表(PDF) 13 Page - STMicroelectronics

部件名 UM0459
功能描述  ST10F27xZx CAN library
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

UM0459 数据表(HTML) 13 Page - STMicroelectronics

Back Button 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 UM0459 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 29 page
background image
UM0459
Controller area network (CAN) routines
13/29
2.2.5
CAN_LeaveTestMode function
Example:
{
CAN_LeaveTestMode(CAN2);
}
2.2.6
CAN_SetBitrate function
Bitrate
The CAN bitrate values are given in Table 4: CAN_Bitrate values on page 10.
Table 9.
CAN_LeaveTestMode function description
Function name
CAN_LeaveTestMode
Prototype
void CAN_LeaveTestMode(CAN_TypeDef* CAN)
Behavior description
Leaves the current test mode (switches into normal mode).
This function sets the TEST bit in the Control register to enable
write access to the Test register, clears the LBACK, SILENT
and BASIC bits in the Test register and clears the TEST bit in
the Control register to disable write access to the Test register.
This function must be used in conjunction with
CAN_EnterTestMode().
Input parameter
CAN: pointer to the CAN1 or CAN2 CAN cell.
Output parameter
None
Return value
None
Required preconditions
None
Called functions
None
Table 10.
CAN_SetBitrate function description
Function name
CAN_SetBitrate
Prototype
void CAN_SetBitrate(CAN_TypeDef* CAN, u16 bitrate);
Behavior description
Sets up a standard CAN bitrate. This function writes the predefined
timing value in the Bit Timing register and clears the BRPR register.
Input parameter1
CAN: pointer to the CAN1 or CAN2 CAN cell.
Input parameter2
BitRate: specifies the bitrate.
Refer to the Bitrate on page 13 section for more details on the
authorized values of this parameter.
Output parameter
None
Return value
None
Required preconditions
CAN_EnterInitMode() must have been called before.
The ST10 frequency = 40 MHz and the prescaler 1/2 is activated at the
CAN clock generator input. See also Section 2.2.7: CAN_SetTiming
function on page 14
Called Functions
None



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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