source: rtems/c/src/lib/libbsp/arm/lm3s69xx/include/syscon.h @ 0afac6a

4.115
Last change on this file since 0afac6a was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1001 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup lm3s69xx_syscon
5 *
6 * @brief Syscon support.
7 */
8
9/*
10 * Copyright © 2013 Eugeniy Meshcheryakov <eugen@debian.org>
11 *
12 * The license and distribution terms for this file may be
13 * found in the file LICENSE in this distribution or at
14 * http://www.rtems.org/license/LICENSE.
15 */
16#ifndef LIBBSP_ARM_LM3S69XX_SYSCON_H
17#define LIBBSP_ARM_LM3S69XX_SYSCON_H
18#include <stdbool.h>
19
20/**
21 * @defgroup lm3s69xx_syscon Syscon Support
22 *
23 * @ingroup arm_lm3s69xx
24 *
25 * @brief Syscon Support
26 */
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32void lm3s69xx_syscon_enable_gpio_clock(unsigned int port, bool enable);
33void lm3s69xx_syscon_enable_uart_clock(unsigned int port, bool enable);
34void lm3s69xx_syscon_enable_ssi_clock(unsigned int port, bool enable);
35void lm3s69xx_syscon_enable_pwm_clock(bool enable);
36void lm3s69xx_syscon_set_pwmdiv(unsigned int div);
37void lm3s69xx_syscon_delay_3x_clocks(unsigned long x_count);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* LIBBSP_ARM_LM3S69XX_SYSCON_H */
Note: See TracBrowser for help on using the repository browser.