summaryrefslogtreecommitdiff
path: root/bsp/apollo2/board/pwm.h
blob: 973848c6f689c009a97cfd4628b4a39bdf443035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2017-12-04     Haley        the first version
 */

#ifndef __PWM_H_
#define __PWM_H_

#include <rtthread.h>

/**
 * @brief External function definitions
 *
 */
int rt_hw_pwm_init(void);
void am_pwm_start(int led);
void am_pwm_stop(int led);

#endif // __PWM_H_