error header file rename to mbed_error.h

pull/387/head
0xc0170 2014-07-04 07:58:31 +02:00
parent 19264fc372
commit f7f77392d9
148 changed files with 147 additions and 147 deletions

View File

@ -25,7 +25,7 @@
#include <time.h> #include <time.h>
// mbed Debug libraries // mbed Debug libraries
#include "error.h" #include "mbed_error.h"
#include "mbed_interface.h" #include "mbed_interface.h"
// mbed Peripheral components // mbed Peripheral components

View File

@ -17,7 +17,7 @@
#include <stdarg.h> #include <stdarg.h>
#include "device.h" #include "device.h"
#include "toolchain.h" #include "toolchain.h"
#include "error.h" #include "mbed_error.h"
#if DEVICE_STDIO_MESSAGES #if DEVICE_STDIO_MESSAGES
#include <stdio.h> #include <stdio.h>
#endif #endif

View File

@ -19,7 +19,7 @@
#include "gpio_api.h" #include "gpio_api.h"
#include "wait_api.h" #include "wait_api.h"
#include "semihost_api.h" #include "semihost_api.h"
#include "error.h" #include "mbed_error.h"
#include "toolchain.h" #include "toolchain.h"
#if DEVICE_SEMIHOST #if DEVICE_SEMIHOST

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
void pinmap_pinout(PinName pin, const PinMap *map) { void pinmap_pinout(PinName pin, const PinMap *map) {
if (pin == NC) if (pin == NC)

View File

@ -383,7 +383,7 @@ extern "C" int mkdir(const char *path, mode_t mode) {
#if defined(TOOLCHAIN_GCC) #if defined(TOOLCHAIN_GCC)
/* prevents the exception handling name demangling code getting pulled in */ /* prevents the exception handling name demangling code getting pulled in */
#include "error.h" #include "mbed_error.h"
namespace __gnu_cxx { namespace __gnu_cxx {
void __verbose_terminate_handler() { void __verbose_terminate_handler() {
error("Exception"); error("Exception");

View File

@ -17,7 +17,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#define CHANNEL_NUM 160 #define CHANNEL_NUM 160

View File

@ -18,7 +18,7 @@
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "error.h" #include "mbed_error.h"
#define CHANNEL_NUM 64 // 31 pins on 2 ports #define CHANNEL_NUM 64 // 31 pins on 2 ports

View File

@ -18,7 +18,7 @@
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "error.h" #include "mbed_error.h"
#define CHANNEL_NUM 64 #define CHANNEL_NUM 64

View File

@ -18,7 +18,7 @@
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "error.h" #include "mbed_error.h"
#define CHANNEL_NUM 96 #define CHANNEL_NUM 96

View File

@ -17,7 +17,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define RANGE_12BIT 0xFFF #define RANGE_12BIT 0xFFF

View File

@ -20,7 +20,7 @@
#include "gpio_api.h" #include "gpio_api.h"
#include "fsl_gpio_hal.h" #include "fsl_gpio_hal.h"
#include "fsl_port_hal.h" #include "fsl_port_hal.h"
#include "error.h" #include "mbed_error.h"
#define CHANNEL_NUM 160 #define CHANNEL_NUM 160

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#include "fsl_clock_manager.h" #include "fsl_clock_manager.h"
#include "fsl_port_hal.h" #include "fsl_port_hal.h"

View File

@ -19,7 +19,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#include "fsl_clock_manager.h" #include "fsl_clock_manager.h"
#include "fsl_dspi_hal.h" #include "fsl_dspi_hal.h"

View File

@ -17,7 +17,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#define CHANNEL_NUM 31 #define CHANNEL_NUM 31

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
void pin_function(PinName pin, int function) { void pin_function(PinName pin, int function) {
} }

View File

@ -17,7 +17,7 @@
#include "pwmout_api.h" #include "pwmout_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define NO_PWMS 3 #define NO_PWMS 3
#define TIMER_PRECISION 4 //4us ticks #define TIMER_PRECISION 4 //4us ticks

View File

@ -18,7 +18,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_SPI_SCLK[] = { static const PinMap PinMap_SPI_SCLK[] = {
{SPI_PSELSCK0 , SPI_0, 0x01}, {SPI_PSELSCK0 , SPI_0, 0x01},

View File

@ -17,7 +17,7 @@
#include "analogin_api.h" #include "analogin_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#if DEVICE_ANALOGIN #if DEVICE_ANALOGIN

View File

@ -17,7 +17,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#if DEVICE_INTERRUPTIN #if DEVICE_INTERRUPTIN

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
void pin_function(PinName pin, int function) { void pin_function(PinName pin, int function) {
MBED_ASSERT(pin != (PinName)NC); MBED_ASSERT(pin != (PinName)NC);

View File

@ -17,7 +17,7 @@
#include "pwmout_api.h" #include "pwmout_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#if DEVICE_PWMOUT #if DEVICE_PWMOUT

View File

@ -19,7 +19,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#if DEVICE_SPI #if DEVICE_SPI

View File

@ -17,7 +17,7 @@
#include "analogin_api.h" #include "analogin_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define ANALOGIN_MEDIAN_FILTER 1 #define ANALOGIN_MEDIAN_FILTER 1

View File

@ -16,7 +16,7 @@
#include <stddef.h> #include <stddef.h>
#include "cmsis.h" #include "cmsis.h"
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#define CHANNEL_NUM 8 #define CHANNEL_NUM 8
#define LPC_GPIO_X LPC_GPIO_PIN_INT #define LPC_GPIO_X LPC_GPIO_PIN_INT

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define LPC_IOCON0_BASE (LPC_IOCON_BASE) #define LPC_IOCON0_BASE (LPC_IOCON_BASE)
#define LPC_IOCON1_BASE (LPC_IOCON_BASE + 0x60) #define LPC_IOCON1_BASE (LPC_IOCON_BASE + 0x60)

View File

@ -18,7 +18,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_SPI_SCLK[] = { static const PinMap PinMap_SPI_SCLK[] = {
{P0_6 , SPI_0, 0x02}, {P0_6 , SPI_0, 0x02},

View File

@ -16,7 +16,7 @@
#include "can_api.h" #include "can_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "error.h" #include "mbed_error.h"
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>

View File

@ -17,7 +17,7 @@
#include "analogin_api.h" #include "analogin_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_ADC[] = { static const PinMap PinMap_ADC[] = {
{P0_11, ADC0_0, 2}, {P0_11, ADC0_0, 2},

View File

@ -16,7 +16,7 @@
#include <stddef.h> #include <stddef.h>
#include "cmsis.h" #include "cmsis.h"
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#include "gpio_api.h" #include "gpio_api.h"
// The chip is capable of 42 GPIO interrupts. // The chip is capable of 42 GPIO interrupts.

View File

@ -17,7 +17,7 @@
#include "i2c_api.h" #include "i2c_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_I2C_SDA[] = { static const PinMap PinMap_I2C_SDA[] = {
{P0_5, I2C_0, 1}, {P0_5, I2C_0, 1},

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
void pin_function(PinName pin, int function) { void pin_function(PinName pin, int function) {
MBED_ASSERT(pin != (PinName)NC); MBED_ASSERT(pin != (PinName)NC);

View File

@ -18,7 +18,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_SPI_SCLK[] = { static const PinMap PinMap_SPI_SCLK[] = {
{P0_6 , SPI_0, 0x02}, {P0_6 , SPI_0, 0x02},

View File

@ -17,7 +17,7 @@
#include "analogin_api.h" #include "analogin_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define ANALOGIN_MEDIAN_FILTER 1 #define ANALOGIN_MEDIAN_FILTER 1

View File

@ -16,7 +16,7 @@
#include <stddef.h> #include <stddef.h>
#include "cmsis.h" #include "cmsis.h"
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#define CHANNEL_NUM 8 #define CHANNEL_NUM 8
#define LPC_GPIO_X LPC_GPIO_PIN_INT #define LPC_GPIO_X LPC_GPIO_PIN_INT

View File

@ -17,7 +17,7 @@
#include "i2c_api.h" #include "i2c_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_I2C_SDA[] = { static const PinMap PinMap_I2C_SDA[] = {
{P0_5, I2C_0, 1}, {P0_5, I2C_0, 1},

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define LPC_IOCON0_BASE (LPC_IOCON_BASE) #define LPC_IOCON0_BASE (LPC_IOCON_BASE)
#define LPC_IOCON1_BASE (LPC_IOCON_BASE + 0x60) #define LPC_IOCON1_BASE (LPC_IOCON_BASE + 0x60)

View File

@ -18,7 +18,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_SPI_SCLK[] = { static const PinMap PinMap_SPI_SCLK[] = {
{P0_6 , SPI_0, 0x02}, {P0_6 , SPI_0, 0x02},

View File

@ -17,7 +17,7 @@
#include "can_api.h" #include "can_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "error.h" #include "mbed_error.h"
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>

View File

@ -17,7 +17,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#define CHANNEL_NUM 8 #define CHANNEL_NUM 8
#define LPC_GPIO_X LPC_PINT #define LPC_GPIO_X LPC_PINT

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
void pin_function(PinName pin, int function) { void pin_function(PinName pin, int function) {
} }

View File

@ -17,7 +17,7 @@
#include "pwmout_api.h" #include "pwmout_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static LPC_SCT0_Type *SCTs[4] = { static LPC_SCT0_Type *SCTs[4] = {
(LPC_SCT0_Type*)LPC_SCT0, (LPC_SCT0_Type*)LPC_SCT0,

View File

@ -21,7 +21,7 @@
#include "serial_api.h" #include "serial_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
/****************************************************************************** /******************************************************************************
* INITIALIZATION * INITIALIZATION

View File

@ -19,7 +19,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const SWM_Map SWM_SPI_SSEL[] = { static const SWM_Map SWM_SPI_SSEL[] = {
{4, 0}, {4, 0},

View File

@ -19,7 +19,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "mbed_interface.h" #include "mbed_interface.h"
#include "toolchain.h" #include "toolchain.h"
#include "error.h" #include "mbed_error.h"
#define NEW_LOGIC 0 #define NEW_LOGIC 0
#define NEW_ETH_BUFFER 0 #define NEW_ETH_BUFFER 0

View File

@ -16,7 +16,7 @@
#include <stddef.h> #include <stddef.h>
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#include "cmsis.h" #include "cmsis.h"
#define CHANNEL_NUM 48 #define CHANNEL_NUM 48

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
void pin_function(PinName pin, int function) { void pin_function(PinName pin, int function) {
MBED_ASSERT(pin != (PinName)NC); MBED_ASSERT(pin != (PinName)NC);

View File

@ -19,7 +19,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_SPI_SCLK[] = { static const PinMap PinMap_SPI_SCLK[] = {
{P0_7 , SPI_1, 2}, {P0_7 , SPI_1, 2},

View File

@ -19,7 +19,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "mbed_interface.h" #include "mbed_interface.h"
#include "toolchain.h" #include "toolchain.h"
#include "error.h" #include "mbed_error.h"
#define NEW_LOGIC 0 #define NEW_LOGIC 0
#define NEW_ETH_BUFFER 0 #define NEW_ETH_BUFFER 0

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#include <stddef.h> #include <stddef.h>
#include "cmsis.h" #include "cmsis.h"

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
void pin_function(PinName pin, int function) { void pin_function(PinName pin, int function) {
MBED_ASSERT(pin != (PinName)NC); MBED_ASSERT(pin != (PinName)NC);

View File

@ -19,7 +19,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_SPI_SCLK[] = { static const PinMap PinMap_SPI_SCLK[] = {
{P0_7 , SPI_1, 2}, {P0_7 , SPI_1, 2},

View File

@ -17,7 +17,7 @@
#include "analogin_api.h" #include "analogin_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define ANALOGIN_MEDIAN_FILTER 1 #define ANALOGIN_MEDIAN_FILTER 1

View File

@ -19,7 +19,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "mbed_interface.h" #include "mbed_interface.h"
#include "toolchain.h" #include "toolchain.h"
#include "error.h" #include "mbed_error.h"
#define NEW_LOGIC 0 #define NEW_LOGIC 0
#define NEW_ETH_BUFFER 0 #define NEW_ETH_BUFFER 0

View File

@ -15,7 +15,7 @@
*/ */
#include <stddef.h> #include <stddef.h>
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#include "cmsis.h" #include "cmsis.h"
#define CHANNEL_NUM 64 #define CHANNEL_NUM 64

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
void pin_function(PinName pin, int function) { void pin_function(PinName pin, int function) {
MBED_ASSERT(pin != (PinName)NC); MBED_ASSERT(pin != (PinName)NC);

View File

@ -21,7 +21,7 @@
#include "serial_api.h" #include "serial_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
/****************************************************************************** /******************************************************************************
* INITIALIZATION * INITIALIZATION

View File

@ -18,7 +18,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_SPI_SCLK[] = { static const PinMap PinMap_SPI_SCLK[] = {
{P0_7 , SPI_1, 2}, {P0_7 , SPI_1, 2},

View File

@ -17,7 +17,7 @@
*/ */
#include <stddef.h> #include <stddef.h>
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#include "cmsis.h" #include "cmsis.h"
/* The LPC43xx implements GPIO pin and group interrupts. Any pin in the /* The LPC43xx implements GPIO pin and group interrupts. Any pin in the

View File

@ -17,7 +17,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
void pin_function(PinName pin, int function) { void pin_function(PinName pin, int function) {
MBED_ASSERT(pin != (PinName)NC); MBED_ASSERT(pin != (PinName)NC);

View File

@ -23,7 +23,7 @@
#include "serial_api.h" #include "serial_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
/****************************************************************************** /******************************************************************************
* INITIALIZATION * INITIALIZATION

View File

@ -21,7 +21,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const PinMap PinMap_SPI_SCLK[] = { static const PinMap PinMap_SPI_SCLK[] = {
{P3_0 , SPI_0, (SCU_PINIO_FAST | 2)}, {P3_0 , SPI_0, (SCU_PINIO_FAST | 2)},

View File

@ -17,7 +17,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "error.h" #include "mbed_error.h"
#define CHANNEL_NUM 8 #define CHANNEL_NUM 8
#define LPC_GPIO_X LPC_PIN_INT #define LPC_GPIO_X LPC_PIN_INT

View File

@ -15,7 +15,7 @@
*/ */
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
__IO uint32_t* IOCON_REGISTERS[18] = { __IO uint32_t* IOCON_REGISTERS[18] = {
&LPC_IOCON->PIO0_0 , &LPC_IOCON->PIO0_1 , &LPC_IOCON->PIO0_2 , &LPC_IOCON->PIO0_0 , &LPC_IOCON->PIO0_1 , &LPC_IOCON->PIO0_2 ,

View File

@ -21,7 +21,7 @@
#include "serial_api.h" #include "serial_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
/****************************************************************************** /******************************************************************************
* INITIALIZATION * INITIALIZATION

View File

@ -19,7 +19,7 @@
#include "spi_api.h" #include "spi_api.h"
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
static const SWM_Map SWM_SPI_SSEL[] = { static const SWM_Map SWM_SPI_SSEL[] = {
{4, 16}, {4, 16},

View File

@ -32,7 +32,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#include "wait_api.h" #include "wait_api.h"
static const PinMap PinMap_ADC[] = { static const PinMap PinMap_ADC[] = {

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
extern uint32_t Set_GPIO_Clock(uint32_t port_idx); extern uint32_t Set_GPIO_Clock(uint32_t port_idx);

View File

@ -32,7 +32,7 @@
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define EDGE_NONE (0) #define EDGE_NONE (0)
#define EDGE_RISE (1) #define EDGE_RISE (1)

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "PortNames.h" #include "PortNames.h"
#include "error.h" #include "mbed_error.h"
// Enable GPIO clock and return GPIO base address // Enable GPIO clock and return GPIO base address
uint32_t Set_GPIO_Clock(uint32_t port_idx) { uint32_t Set_GPIO_Clock(uint32_t port_idx) {

View File

@ -33,7 +33,7 @@
#include "pinmap.h" #include "pinmap.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "error.h" #include "mbed_error.h"
extern uint32_t Set_GPIO_Clock(uint32_t port_idx); extern uint32_t Set_GPIO_Clock(uint32_t port_idx);

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
extern uint32_t Set_GPIO_Clock(uint32_t port_idx); extern uint32_t Set_GPIO_Clock(uint32_t port_idx);

View File

@ -32,7 +32,7 @@
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define EDGE_NONE (0) #define EDGE_NONE (0)
#define EDGE_RISE (1) #define EDGE_RISE (1)

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "device.h" #include "device.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
// Alternate-function mapping // Alternate-function mapping
static const uint32_t AF_mapping[] = { static const uint32_t AF_mapping[] = {

View File

@ -30,7 +30,7 @@
#include "port_api.h" #include "port_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "error.h" #include "mbed_error.h"
#if DEVICE_PORTIN || DEVICE_PORTOUT #if DEVICE_PORTIN || DEVICE_PORTOUT

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
extern uint32_t Set_GPIO_Clock(uint32_t port_idx); extern uint32_t Set_GPIO_Clock(uint32_t port_idx);

View File

@ -32,7 +32,7 @@
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define EDGE_NONE (0) #define EDGE_NONE (0)
#define EDGE_RISE (1) #define EDGE_RISE (1)

View File

@ -34,7 +34,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
/* Timeout values for flags and events waiting loops. These timeouts are /* Timeout values for flags and events waiting loops. These timeouts are
not based on accurate values, they just guarantee that the application will not based on accurate values, they just guarantee that the application will

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "PortNames.h" #include "PortNames.h"
#include "error.h" #include "mbed_error.h"
// Enable GPIO clock and return GPIO base address // Enable GPIO clock and return GPIO base address
uint32_t Set_GPIO_Clock(uint32_t port_idx) { uint32_t Set_GPIO_Clock(uint32_t port_idx) {

View File

@ -33,7 +33,7 @@
#include "pinmap.h" #include "pinmap.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "error.h" #include "mbed_error.h"
extern uint32_t Set_GPIO_Clock(uint32_t port_idx); extern uint32_t Set_GPIO_Clock(uint32_t port_idx);

View File

@ -33,7 +33,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
// TIM2 cannot be used because already used by the us_ticker // TIM2 cannot be used because already used by the us_ticker
static const PinMap PinMap_PWM[] = { static const PinMap PinMap_PWM[] = {

View File

@ -31,7 +31,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#define RANGE_12BIT (0xFFF) #define RANGE_12BIT (0xFFF)

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
extern uint32_t Set_GPIO_Clock(uint32_t port_idx); extern uint32_t Set_GPIO_Clock(uint32_t port_idx);

View File

@ -32,7 +32,7 @@
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define EDGE_NONE (0) #define EDGE_NONE (0)
#define EDGE_RISE (1) #define EDGE_RISE (1)

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "PortNames.h" #include "PortNames.h"
#include "error.h" #include "mbed_error.h"
// GPIO mode look-up table // GPIO mode look-up table
static const uint32_t gpio_mode[12] = { static const uint32_t gpio_mode[12] = {

View File

@ -30,7 +30,7 @@
#include "port_api.h" #include "port_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "error.h" #include "mbed_error.h"
#if DEVICE_PORTIN || DEVICE_PORTOUT #if DEVICE_PORTIN || DEVICE_PORTOUT

View File

@ -33,7 +33,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
// TIM5 cannot be used because already used by the us_ticker // TIM5 cannot be used because already used by the us_ticker
static const PinMap PinMap_PWM[] = { static const PinMap PinMap_PWM[] = {

View File

@ -30,7 +30,7 @@
#include "rtc_api.h" #include "rtc_api.h"
#if DEVICE_RTC #if DEVICE_RTC
#include "error.h" #include "mbed_error.h"
static int rtc_inited = 0; static int rtc_inited = 0;

View File

@ -32,7 +32,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#include "wait_api.h" #include "wait_api.h"
static const PinMap PinMap_ADC[] = { static const PinMap PinMap_ADC[] = {

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
extern uint32_t Set_GPIO_Clock(uint32_t port_idx); extern uint32_t Set_GPIO_Clock(uint32_t port_idx);

View File

@ -32,7 +32,7 @@
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define EDGE_NONE (0) #define EDGE_NONE (0)
#define EDGE_RISE (1) #define EDGE_RISE (1)

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "PortNames.h" #include "PortNames.h"
#include "error.h" #include "mbed_error.h"
// Enable GPIO clock and return GPIO base address // Enable GPIO clock and return GPIO base address
uint32_t Set_GPIO_Clock(uint32_t port_idx) { uint32_t Set_GPIO_Clock(uint32_t port_idx) {

View File

@ -33,7 +33,7 @@
#include "pinmap.h" #include "pinmap.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "error.h" #include "mbed_error.h"
extern uint32_t Set_GPIO_Clock(uint32_t port_idx); extern uint32_t Set_GPIO_Clock(uint32_t port_idx);

View File

@ -32,7 +32,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define DAC_RANGE (0xFFF) // 12 bits #define DAC_RANGE (0xFFF) // 12 bits

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
extern uint32_t Set_GPIO_Clock(uint32_t port_idx); extern uint32_t Set_GPIO_Clock(uint32_t port_idx);

View File

@ -31,7 +31,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "gpio_irq_api.h" #include "gpio_irq_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
#define EDGE_NONE (0) #define EDGE_NONE (0)
#define EDGE_RISE (1) #define EDGE_RISE (1)

View File

@ -30,7 +30,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
#include "pinmap.h" #include "pinmap.h"
#include "PortNames.h" #include "PortNames.h"
#include "error.h" #include "mbed_error.h"
// GPIO mode look-up table // GPIO mode look-up table
static const uint32_t gpio_mode[12] = { static const uint32_t gpio_mode[12] = {

View File

@ -30,7 +30,7 @@
#include "port_api.h" #include "port_api.h"
#include "pinmap.h" #include "pinmap.h"
#include "gpio_api.h" #include "gpio_api.h"
#include "error.h" #include "mbed_error.h"
#if DEVICE_PORTIN || DEVICE_PORTOUT #if DEVICE_PORTIN || DEVICE_PORTOUT

View File

@ -33,7 +33,7 @@
#include "cmsis.h" #include "cmsis.h"
#include "pinmap.h" #include "pinmap.h"
#include "error.h" #include "mbed_error.h"
// TIM2 cannot be used because already used by the us_ticker // TIM2 cannot be used because already used by the us_ticker
static const PinMap PinMap_PWM[] = { static const PinMap PinMap_PWM[] = {

View File

@ -31,7 +31,7 @@
#if DEVICE_RTC #if DEVICE_RTC
#include "error.h" #include "mbed_error.h"
static int rtc_inited = 0; static int rtc_inited = 0;

Some files were not shown because too many files have changed in this diff Show More