RTEMS: bsps/arm/include/bsp/arm-pl050.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
arm-pl050.h
Go to the documentation of this file.
1
9/*
10 * Copyright (c) 2013-2014 embedded brains GmbH. All rights reserved.
11 *
12 * embedded brains GmbH
13 * Dornierstr. 4
14 * 82178 Puchheim
15 * Germany
16 * <info@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.org/license/LICENSE.
21 */
22
23#ifndef LIBBSP_ARM_SHARED_ARM_PL050_H
24#define LIBBSP_ARM_SHARED_ARM_PL050_H
25
26#include <rtems/termiostypes.h>
27
28#include <bsp/arm-pl050-regs.h>
29
30#ifdef __cplusplus
31extern "C" {
32#endif /* __cplusplus */
33
34 typedef struct {
35 rtems_termios_device_context base;
36 volatile pl050 *regs;
37 rtems_vector_number irq;
38 uint32_t initial_baud;
39} arm_pl050_context;
40
41extern const rtems_termios_device_handler arm_pl050_fns;
42
43#ifdef __cplusplus
44}
45#endif /* __cplusplus */
46
47#endif /* LIBBSP_ARM_SHARED_ARM_PL050_H */
arm-pl050-regs.h
ARM PL050 Register Definitions.
rtems_vector_number
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
arm_pl050_context
Definition: arm-pl050.h:34
pl050
Definition: arm-pl050-regs.h:28
rtems_termios_device_context
Termios device context.
Definition: termiostypes.h:75
rtems_termios_device_handler
Termios device handler.
Definition: termiostypes.h:141
termiostypes.h