source: rtems/c/src/lib/libbsp/arm/shared/include/arm-pl111-fb.h @ c8312b3

4.115
Last change on this file since c8312b3 was c8312b3, checked in by Sebastian Huber <sebastian.huber@…>, on 06/23/13 at 12:39:47

bsps/arm: Add PL111 support

  • Property mode set to 100644
File size: 871 bytes
Line 
1/*
2 * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <info@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.com/license/LICENSE.
13 */
14
15#ifndef LIBBSP_ARM_SHARED_ARM_PL111_FB_H
16#define LIBBSP_ARM_SHARED_ARM_PL111_FB_H
17
18#include <bsp/arm-pl111-regs.h>
19
20typedef struct {
21  volatile pl111 *regs;
22  uint32_t timing0;
23  uint32_t timing1;
24  uint32_t timing2;
25  uint32_t timing3;
26  uint32_t control;
27  uint32_t power_delay_in_us;
28} pl111_fb_config;
29
30const pl111_fb_config *arm_pl111_fb_get_config(void);
31
32void arm_pl111_fb_pins_set_up(const pl111_fb_config *cfg);
33
34void arm_pl111_fb_pins_tear_down(const pl111_fb_config *cfg);
35
36#endif /* LIBBSP_ARM_SHARED_ARM_PL111_FB_H */
Note: See TracBrowser for help on using the repository browser.