Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:03

0001 /**
0002  * @file
0003  *
0004  * @ingroup lm3s69xx_syscon
0005  *
0006  * @brief Syscon support.
0007  */
0008 
0009 /*
0010  * Copyright (c) 2013 Eugeniy Meshcheryakov <eugen@debian.org>
0011  *
0012  * The license and distribution terms for this file may be
0013  * found in the file LICENSE in this distribution or at
0014  * http://www.rtems.org/license/LICENSE.
0015  */
0016 #ifndef LIBBSP_ARM_LM3S69XX_SYSCON_H
0017 #define LIBBSP_ARM_LM3S69XX_SYSCON_H
0018 #include <stdbool.h>
0019 
0020 /**
0021  * @defgroup lm3s69xx_syscon Syscon Support
0022  *
0023  * @ingroup RTEMSBSPsARMLM3S69XX
0024  *
0025  * @brief Syscon Support
0026  */
0027 
0028 #ifdef __cplusplus
0029 extern "C" {
0030 #endif
0031 
0032 void lm3s69xx_syscon_enable_gpio_clock(unsigned int port, bool enable);
0033 void lm3s69xx_syscon_enable_uart_clock(unsigned int port, bool enable);
0034 void lm3s69xx_syscon_enable_ssi_clock(unsigned int port, bool enable);
0035 void lm3s69xx_syscon_enable_pwm_clock(bool enable);
0036 void lm3s69xx_syscon_set_pwmdiv(unsigned int div);
0037 void lm3s69xx_syscon_delay_3x_clocks(unsigned long x_count);
0038 
0039 #ifdef __cplusplus
0040 }
0041 #endif
0042 
0043 #endif /* LIBBSP_ARM_LM3S69XX_SYSCON_H */