rt-thread/bsp/ls2kdev/drivers
Du Huanpeng cde1e5d940 bsp: ls2k: pwm driver
attach probe of the oscilloscope too the
3.3v & PWM3 like below:

          jack
    ------|  |---|    |-|    |----
    |o o 3.3v    |eth1| |eth0|
    |o o
    |o o
    |o o PWM3
    |o o

type commands below to rt-thread console:
    msh /> pwm_enable pwm0 3
    msh /> pwm_set pwm0 3 140 90

turn off pwm:
    msh /> pwm_disable pwm0 3

Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-07-03 15:54:03 +08:00
..
SConscript add ls2k bsp 2020-04-07 14:38:58 +08:00
board.c fix mips64 some bug 2020-04-07 14:39:12 +08:00
board.h ls2k1000 cpu frequency 1GHz 2020-06-16 09:37:33 +08:00
clk.c bsp: ls2k: initial clk driver 2020-06-16 11:21:22 +08:00
clk.h bsp: ls2k: initial clk driver 2020-06-16 11:21:22 +08:00
drv_gpio.c fix ls2k libc and irq 2020-06-21 23:28:11 +08:00
drv_gpio.h fix ls2k libc and irq 2020-06-21 23:28:11 +08:00
drv_pwm.c bsp: ls2k: pwm driver 2020-07-03 15:54:03 +08:00
drv_rtc.c bsp: ls2k: internal rtc driver 2020-06-23 20:14:09 +08:00
drv_uart.c fix ls2k libc and irq 2020-06-21 23:28:11 +08:00
drv_uart.h fix ls2k libc and irq 2020-06-21 23:28:11 +08:00
interrupt.c fix ls2k libc and irq 2020-06-21 23:28:11 +08:00
interrupt.h fix ls2k libc and irq 2020-06-21 23:28:11 +08:00
ls2k1000.h bsp: ls2k: pwm driver 2020-07-03 15:54:03 +08:00