| поискавой системы для электроныых деталей |
|
UM0459 датащи(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0459 датащи(HTML) 12 Page - STMicroelectronics |
|
12 / 29 page ![]() 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 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |