2018-08-17 14:37:11 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017, Arm Limited and affiliates.
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MBED_OBJECTS_H
|
|
|
|
#define MBED_OBJECTS_H
|
|
|
|
|
2019-10-30 09:25:48 +00:00
|
|
|
#include <stdint.h>
|
2018-08-17 14:37:11 +00:00
|
|
|
#include "PeripheralNames.h"
|
|
|
|
#include "PinNames.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-10-23 07:09:31 +00:00
|
|
|
struct gpio_irq_s {
|
|
|
|
uint32_t ch;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct serial_s {
|
|
|
|
int x;
|
|
|
|
};
|
|
|
|
|
2019-10-30 12:21:32 +00:00
|
|
|
struct dac_s {
|
2019-11-01 12:01:33 +00:00
|
|
|
int unused;
|
2019-10-30 12:21:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct i2c_s {
|
2019-11-01 12:01:33 +00:00
|
|
|
int unused;
|
2019-10-30 12:21:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct qspi_s {
|
2019-11-01 12:01:33 +00:00
|
|
|
int unused;
|
2019-10-30 12:21:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct spi_s {
|
2019-11-01 12:01:33 +00:00
|
|
|
int unused;
|
2019-10-30 12:21:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct analogin_s {
|
2019-11-01 12:01:33 +00:00
|
|
|
int unused;
|
2019-10-30 12:21:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct port_s {
|
2019-11-01 12:01:33 +00:00
|
|
|
int unused;
|
2019-10-30 12:21:32 +00:00
|
|
|
};
|
|
|
|
|
2019-10-30 09:25:48 +00:00
|
|
|
struct pwmout_s {
|
2019-11-01 12:01:33 +00:00
|
|
|
int unused;
|
2019-10-30 09:25:48 +00:00
|
|
|
};
|
|
|
|
|
2019-10-30 12:21:32 +00:00
|
|
|
struct flash_s {
|
2019-11-01 12:01:33 +00:00
|
|
|
int unused;
|
2019-10-30 12:21:32 +00:00
|
|
|
};
|
2019-10-30 09:25:48 +00:00
|
|
|
|
2019-10-30 12:21:32 +00:00
|
|
|
struct can_s {
|
2019-11-01 12:01:33 +00:00
|
|
|
int unused;
|
2019-10-30 12:21:32 +00:00
|
|
|
};
|
2019-10-30 09:25:48 +00:00
|
|
|
|
2018-08-17 14:37:11 +00:00
|
|
|
#include "gpio_object.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|