Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

UM0563 Datenblatt(PDF) 21 Page - STMicroelectronics

Teilenummer UM0563
Bauteilbeschribung  L9952GXP software driver user manual
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0563 Datenblatt(HTML) 21 Page - STMicroelectronics

Back Button UM0563 Datasheet HTML 17Page - STMicroelectronics UM0563 Datasheet HTML 18Page - STMicroelectronics UM0563 Datasheet HTML 19Page - STMicroelectronics UM0563 Datasheet HTML 20Page - STMicroelectronics UM0563 Datasheet HTML 21Page - STMicroelectronics UM0563 Datasheet HTML 22Page - STMicroelectronics UM0563 Datasheet HTML 23Page - STMicroelectronics UM0563 Datasheet HTML 24Page - STMicroelectronics UM0563 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 46 page
background image
UM0563
L9952GXP software driver functions
21/46
Table 14.
L9952drv_SetOutOLThresholdLevel
Service name
L9952drv_SetOutOLThresholdLevel
Syntax
Void L9952drv_SetOutOLThresholdLevel
(
uint8 mask
L9952drv_OutOLThresholdLevelType level
)
Service ID
13
Sync/async
Asynchronous
Reentrancy
Non reentrant
Parameters (in)
Parameter mask sets the openload detection level (OLT) for related HS outputs
Address range: 0x00 .. 0xF0
Bit 4: 1 = Mask active for OUT 1, 0 = Mask not active for OUT 1
Bit 5: 1 = Mask active for OUT 2, 0 = Mask not active for OUT 2
Bit 6: 1 = Mask active for OUT 3, 0 = Mask not active for OUT 3
Bit 7: 1 = Mask active for OUT 4, 0 = Mask not active for OUT 4
Following constants are defined in L9952drv.h file
#define L9952DRV_MASK_OUT1 0x10
#define L9952DRV_MASK_OUT2 0x20
#define L9952DRV_MASK_OUT3 0x40
#define L9952DRV_MASK_OUT4 0x80
Example: L9952DRV_MASK_OUT1 | L9952DRV_MASK_OUT 4 ... mask is
active for OUT1 and OUT4.
Parameter level defines level for open load detection for related HS outputs
Return value
None
Description
This function sets the openload detection level for selected HS outputs 1..4 of
the L9952GXP.
The registers affected are the CR2.0..3(1)(2)
1. This function updates the software driver’s internal copy of control register 2 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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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