Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gpio_cmsdk_ahb.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016 Linaro Limited.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_CMSDK_AHB_H_
7#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_CMSDK_AHB_H_
8
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15/* ARM LTD CMSDK AHB General Purpose Input/Output (GPIO) */
17 /* Offset: 0x000 (r/w) data register */
18 volatile uint32_t data;
19 /* Offset: 0x004 (r/w) data output latch register */
20 volatile uint32_t dataout;
21 volatile uint32_t reserved0[2];
22 /* Offset: 0x010 (r/w) output enable set register */
24 /* Offset: 0x014 (r/w) output enable clear register */
26 /* Offset: 0x018 (r/w) alternate function set register */
28 /* Offset: 0x01c (r/w) alternate function clear register */
30 /* Offset: 0x020 (r/w) interrupt enable set register */
32 /* Offset: 0x024 (r/w) interrupt enable clear register */
34 /* Offset: 0x028 (r/w) interrupt type set register */
36 /* Offset: 0x02c (r/w) interrupt type clear register */
38 /* Offset: 0x030 (r/w) interrupt polarity set register */
40 /* Offset: 0x034 (r/w) interrupt polarity clear register */
42 union {
43 /* Offset: 0x038 (r/ ) interrupt status register */
45 /* Offset: 0x038 ( /w) interrupt clear register */
47 };
48 volatile uint32_t reserved1[241];
49 /* Offset: 0x400 - 0x7fc lower byte masked access register (r/w) */
50 volatile uint32_t lb_masked[256];
51 /* Offset: 0x800 - 0xbfc upper byte masked access register (r/w) */
52 volatile uint32_t ub_masked[256];
53};
54
55#ifdef __cplusplus
56}
57#endif
58
59#endif /* ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_CMSDK_AHB_H_ */
Public APIs for GPIO drivers.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Definition gpio_cmsdk_ahb.h:16
volatile uint32_t lb_masked[256]
Definition gpio_cmsdk_ahb.h:50
volatile uint32_t outenableclr
Definition gpio_cmsdk_ahb.h:25
volatile uint32_t altfuncclr
Definition gpio_cmsdk_ahb.h:29
volatile uint32_t intstatus
Definition gpio_cmsdk_ahb.h:44
volatile uint32_t intenset
Definition gpio_cmsdk_ahb.h:31
volatile uint32_t altfuncset
Definition gpio_cmsdk_ahb.h:27
volatile uint32_t intenclr
Definition gpio_cmsdk_ahb.h:33
volatile uint32_t reserved0[2]
Definition gpio_cmsdk_ahb.h:21
volatile uint32_t intclear
Definition gpio_cmsdk_ahb.h:46
volatile uint32_t inttypeset
Definition gpio_cmsdk_ahb.h:35
volatile uint32_t outenableset
Definition gpio_cmsdk_ahb.h:23
volatile uint32_t data
Definition gpio_cmsdk_ahb.h:18
volatile uint32_t intpolclr
Definition gpio_cmsdk_ahb.h:41
volatile uint32_t reserved1[241]
Definition gpio_cmsdk_ahb.h:48
volatile uint32_t ub_masked[256]
Definition gpio_cmsdk_ahb.h:52
volatile uint32_t dataout
Definition gpio_cmsdk_ahb.h:20
volatile uint32_t inttypeclr
Definition gpio_cmsdk_ahb.h:37
volatile uint32_t intpolset
Definition gpio_cmsdk_ahb.h:39