Stlux385A Smeds (Stlux_Smed); Table 3. Stlux385A Smeds - STMicroelectronics STLUX385A User Manual

Table of Contents

Advertisement

STLUX library
3.3

STLUX385A SMEDs (stlux_smed)

Header
SMED_Start
SMED_Stop
SMED_SetTime
SMED_ValidateTimeValues
SMED_TrigSWEvent
SMED_Init
10/21

Table 3. STLUX385A SMEDs

Input parameters
SMEDx is the SMED to be started.
SMEDx is the SMED to be
stopped.
SMEDx is the SMED which time
must be set.
TimeRegister is the status for which
the time must be set. The status
can be T0, T1, T2 or T3.
Value is the time value to be set.
SMEDx is the SMED.
TimeVal is the timer (or the timers)
to be validated.
X can assume values ranging from
0 to 7 and corresponds to the SW
event trigger.
DocID026248 Rev 1
Output parameters
It returns zero in case
of unsuccessful
operation due to
pending time
for the selected SMEDx.
validation, one
otherwise.
It returns zero in case
of unsuccessful
operation due to
pending time
validation, one
otherwise.
This function enables the
SW event triggers for the
UM1753
Functionality
This function makes the
SMEDx start running.
This function makes the
SMEDx stop running.
Sets the time value to
the status TimeRegister
Validates the settings
previously set with
SMED_SetTime for the
desired SMEDx timers.
SMED FSM.
This function is defined
as void function by
default and can be
manually generated or
by using the SMED
configurator.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STLUX385A and is the answer not in the manual?

Questions and answers

Table of Contents