LeonardHerbst
8a57349587
driver/motor_driver: fix failing motor initialization
...
`pwm_init` returns the actual frequency the pwm is set to, not the exact frequency requested.
2025-07-15 15:21:22 +02:00
chrysn
ffe2ef3da6
drivers/motor_driver: Use irq_restore
2021-12-21 18:23:11 +01:00
Bas Stottelaar
92b1dfc703
drivers/*: realign ENABLE_DEBUG
2020-10-23 01:26:09 +02:00
Gunar Schorcht
6d61381d2a
drivers: use inline functions for GPIO comparisons
...
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, drivers must first be changed so that they use the inline comparison functions.
2020-08-31 13:10:28 +02:00
Gilles DOFFE
3a83648f2a
drivers: add licence to motor_driver source files
...
Related to PR #10290 , add missing licence to some source files.
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-04-13 00:29:58 +02:00
Gilles DOFFE
8a20936a9d
drivers: add motor_driver implementation
...
Implement motor_driver API to drive CC motors through hardware drivers.
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00