Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:pwmCfg
(Results
1 - 4
of
4
) sorted by relevance
/drivers/hdf_core/adapter/platform/pwm/
H
A
D
pwm_wm.c
24
pwm_init_param
pwmCfg
;
member
38
pwm_init_param *
pwmCfg
= NULL;
in PwmDevSetConfig()
local
50
pwmCfg
= &prvPwm->
pwmCfg
;
in PwmDevSetConfig()
51
pwmCfg
->period = config->period;
in PwmDevSetConfig()
52
pwmCfg
->duty = config->duty;
in PwmDevSetConfig()
53
pwmCfg
->pnum = config->number;
in PwmDevSetConfig()
54
pwmCfg
->channel = prvPwm->resource.channel;
in PwmDevSetConfig()
58
tls_pwm_init(
pwmCfg
->channel, freq,
pwmCfg
in PwmDevSetConfig()
[all...]
H
A
D
pwm_stm32f4xx.c
441
PwmConfig *
pwmCfg
, const PwmResource *resource)
448
pwmCfg
->timInitStruct.Autoreload = arg->period - 1; // if period is 1000 20KHz/1000=20Hz,period is 50ms
449
pwmCfg
->timInitStruct.ClockDivision = LL_TIM_CLOCKDIVISION_DIV1;
450
pwmCfg
->timInitStruct.CounterMode = LL_TIM_COUNTERMODE_UP;
451
pwmCfg
->timInitStruct.Prescaler = resource->prescaler;
452
LL_TIM_Init(g_stTimMap[arg->pwmTim], &
pwmCfg
->timInitStruct);
458
pwmCfg
->timOcInitStruct.OCMode = LL_TIM_OCMODE_PWM1; // PWM1 mode
459
pwmCfg
->timOcInitStruct.OCState = LL_TIM_OCSTATE_DISABLE;
460
pwmCfg
->timOcInitStruct.CompareValue = arg->duty;
462
pwmCfg
440
InitTimPwm(const PwmFreqArg* arg, const struct PwmConfig *config, PwmConfig *
pwmCfg
, const PwmResource *resource)
global()
argument
517
PwmConfig *
pwmCfg
= NULL;
global()
local
[all...]
H
A
D
pwm_bes.c
281
struct HAL_PWM_CFG_T *
pwmCfg
= NULL;
local
293
pwmCfg
= &prvPwm->
pwmCfg
;
294
pwmCfg
->freq = UNTIL_NAN0SECONDS / config->period;
295
pwmCfg
->ratio = config->duty * PERCENT / config->period;
296
pwmCfg
->inv = false;
297
pwmCfg
->sleep_on = false;
302
hal_pwm_enable(pwmId,
pwmCfg
);
H
A
D
pwm_bes.h
30
struct HAL_PWM_CFG_T
pwmCfg
;
member
Completed in 2 milliseconds