Git
Wiki
Site
projects
/
soft
/
lpc82x
/
core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fd7b2b
)
Add define for PWM_OUT_INIT_SET
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Mon, 19 Apr 2021 22:33:53 +0000
(
00:33
+0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Fri, 10 Feb 2023 18:02:59 +0000
(19:02 +0100)
include/drivers/timers.h
patch
|
blob
|
history
diff --git
a/include/drivers/timers.h
b/include/drivers/timers.h
index
214f4c2
..
5834178
100644
(file)
--- a/
include/drivers/timers.h
+++ b/
include/drivers/timers.h
@@
-90,6
+90,7
@@
struct lpc_timer_pwm_config {
uint32_t outputs_initial_state;
};
+#define PWM_OUT_INIT_SET(x) (0x01 << ((x) & 0x07))
/*******************************************************************************/
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !