OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:pwm
(Results
1 - 7
of
7
) sorted by null
/hardware/bsp/intel/peripheral/libmraa/examples/
cycle-pwm3.c
34
mraa_pwm_context
pwm
;
local
35
pwm
= mraa_pwm_init(3);
36
if (
pwm
== NULL) {
39
mraa_pwm_period_us(
pwm
, 200);
40
mraa_pwm_enable(
pwm
, 1);
46
mraa_pwm_write(
pwm
, value);
51
float output = mraa_pwm_read(
pwm
);
/hardware/bsp/intel/peripheral/libmraa/examples/c++/
Pwm3-cycle.cpp
36
printf("closing
PWM
nicely\n");
46
mraa::
Pwm
*
pwm
;
local
48
pwm
= new mraa::
Pwm
(3);
49
if (
pwm
== NULL) {
52
fprintf(stdout, "Cycling
PWM
on IO3 (pwm3) \n");
53
pwm
->enable(true);
58
pwm
->write(value);
64
delete
pwm
;
[
all
...]
/hardware/bsp/intel/peripheral/libmraa/examples/java/
CyclePwm3.java
27
import mraa.
Pwm
;
42
Pwm
pwm
= new mraa.
Pwm
(3);
local
43
pwm
.period_us(200);
44
pwm
.enable(true);
49
pwm
.write(value);
/hardware/bsp/intel/peripheral/libupm/src/adafruitms1438/
adafruitms1438.h
61
*
PWM
pins 9 and 10 on the Arduino* breakout board.
127
* Sets the
PWM
period. Note: this applies to all
PWM
channels.
129
* @param hz Sets the
PWM
period
134
* Enables
PWM
output for a motor
141
* Disables
PWM
output for a motor
216
int
pwm
;
member in struct:upm::AdafruitMS1438::__anon30641
/hardware/qcom/display/msm8960/liblight/
lights.c
147
int blink, freq,
pwm
;
local
176
//
pwm
specifies the ratio of ON versus OFF
177
//
pwm
= 0 -> always off
178
//
pwm
= 255 => always on
179
pwm
= (onMS * 255) / totalMS;
182
if (
pwm
> 0 &&
pwm
< 16)
183
pwm
= 16;
189
pwm
= 0;
220
write_int(pwm_file,
pwm
);
[
all
...]
/hardware/bsp/intel/peripheral/libmraa/src/x86/
intel_edison_fab_c.c
55
mraa_intel_edision_pindef_t
pwm
;
member in struct:__anon30637
379
if (!plat->pins[pin].capabilites.
pwm
) {
414
mraa_intel_edison_pwm_init_post(mraa_pwm_context
pwm
)
816
b->pins[pos].
pwm
.pinmap = 2;
817
b->pins[pos].
pwm
.parent_id = 0;
818
b->pins[pos].
pwm
.mux_total = 0;
903
b->pins[pos].
pwm
.pinmap = 1;
904
b->pins[pos].
pwm
.parent_id = 0;
905
b->pins[pos].
pwm
.mux_total = 0;
935
b->pins[pos].
pwm
.pinmap = 0
[
all
...]
/hardware/bsp/intel/peripheral/libmraa/include/
mraa_internal_types.h
95
* A structure representing a
PWM
pin
100
int chipid; /**< the chip id, which the
pwm
resides */
103
mraa_boolean_t owner; /**< Owner of
pwm
context*/
158
mraa_boolean_t
pwm
:1; /**< Is the pin
pwm
capable */
member in struct:__anon30625
214
mraa_pin_t
pwm
; /**<
PWM
structure */
member in struct:__anon30630
282
mraa_boolean_t no_bus_mux; /**< i2c/spi/adc/
pwm
/uart bus muxing setup not required */
283
int pwm_default_period; /**< The default
PWM
period is US */
Completed in 681 milliseconds