전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

UM0563 데이터시트(PDF) 13 Page - STMicroelectronics

부품명 UM0563
상세설명  L9952GXP software driver user manual
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0563 데이터시트(HTML) 13 Page - STMicroelectronics

Back Button UM0563 Datasheet HTML 9Page - STMicroelectronics UM0563 Datasheet HTML 10Page - STMicroelectronics UM0563 Datasheet HTML 11Page - STMicroelectronics UM0563 Datasheet HTML 12Page - STMicroelectronics UM0563 Datasheet HTML 13Page - STMicroelectronics UM0563 Datasheet HTML 14Page - STMicroelectronics UM0563 Datasheet HTML 15Page - STMicroelectronics UM0563 Datasheet HTML 16Page - STMicroelectronics UM0563 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 46 page
background image
UM0563
L9952GXP software driver functions
13/46
Table 3.
L9952drv_SetOutMode
Service name
L9952drv_SetOutMode
Syntax
Void L9952drv_SetOutMode
(
uint8 mask
L9952drv_OutModeType mode
)
Service ID
2
Sync/async
Asynchronous
Reentrancy
Non reentrant
Parameters (in)
Parameter mask defines the outputs which should be configured
Address range: 0x00 .. 0xF1
Bit 0: 1 = Mask is active for OUTHS, 0 = Mask is not active for OUTHS
Bit 4: 1 = Mask is active for OUT1, 0 = Mask is not active for OUT1
Bit 5: 1 = Mask is active for OUT2, 0 = Mask is not active for OUT2
Bit 6: 1 = Mask is active for OUT3, 0 = Mask is not active for OUT3
Bit 7: 1 = Mask is active for OUT4, 0 = Mask is not active for OUT4
The following constants are defined in L9952drv.h file:
#define L9952DRV_MASK_OUTHS 0x01
#define L9952DRV_MASK_OUT1 0x10
#define L9952DRV_MASK_OUT2 0x20
#define L9952DRV_MASK_OUT3 0x40
#define L9952DRV_MASK_OUT4 0x80
Example: OUT_MODE_MASK_OUT1 | OUT_MODE_MASK_OUT2 ... mask
is active for OUT1 and OUT2.
Parameter mode sets the mode for selected outputs
Return value
None
Description
This function controls high side (HS) outputs of the L9952GXP
The registers affected are the CR0.0..14(1)(2)
1. This function updates the software driver’s internal copy of control register 0 and sends it immediately to
the L9952GXP via the SPI.
2. This function refreshes the software driver’s internal copy of status 0 register from the L9952GXP via the
SPI.
Caveats
This function waits until the data are completely transferred to the L9952GXP
via the SPI.
Configuration
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46


데이터시트 다운로드

Go To PDF Page


링크 URL



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