Skip to content

Commit 434af56

Browse files
author
No user
committed
Release 138 of the mbed library
Ports for Upcoming Targets Fixes and Changes 3716: fix for issue #3715: correction in startup files for ARM and IAR, alignment of system_stm32f429xx.c files ARMmbed/mbed-os#3716 3741: STM32 remove warning in hal_tick_32b.c file ARMmbed/mbed-os#3741 3780: STM32L4 : Fix GPIO G port compatibility ARMmbed/mbed-os#3780 3831: NCS36510: SPISLAVE enabled (Conflict resolved) ARMmbed/mbed-os#3831 3836: Allow to redefine nRF's PSTORAGE_NUM_OF_PAGES outside of the mbed-os ARMmbed/mbed-os#3836 3840: STM32: gpio SPEED - always set High Speed by default ARMmbed/mbed-os#3840 3844: STM32 GPIO: Typo correction. Update comment (GPIO_IP_WITHOUT_BRR) ARMmbed/mbed-os#3844 3850: STM32: change spi error to debug warning ARMmbed/mbed-os#3850 3860: Define GPIO_IP_WITHOUT_BRR for xDot platform ARMmbed/mbed-os#3860 3880: DISCO_F469NI: allow the use of CAN2 instance when CAN1 is not activated ARMmbed/mbed-os#3880 3795: Fix pwm period calc ARMmbed/mbed-os#3795 3828: STM32 CAN API: correct format and type ARMmbed/mbed-os#3828 3842: TARGET_NRF: corrected spi_init() to properly handle re-initialization ARMmbed/mbed-os#3842 3843: STM32L476xG: set APB2 clock to 80MHz (instead of 40MHz) ARMmbed/mbed-os#3843 3879: NUCLEO_F446ZE: Add missing AnalogIn pins on PF_3, PF_5 and PF_10. ARMmbed/mbed-os#3879 3902: Fix heap and stack size for NUCLEO_F746ZG ARMmbed/mbed-os#3902 3829: can_write(): return error code when no tx mailboxes are available ARMmbed/mbed-os#3829
1 parent 20a980c commit 434af56

File tree

21,047 files changed

+21403
-6890
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

21,047 files changed

+21403
-6890
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
1.56 KB
Binary file not shown.
8 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-34.1 KB
Binary file not shown.
0 Bytes
Binary file not shown.
16 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
422 Bytes
Binary file not shown.
-4 Bytes
Binary file not shown.
Binary file not shown.
-14.7 KB
Binary file not shown.
16 Bytes
Binary file not shown.

TARGET_ARCH_BLE/core_cmSecureAccess.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@
5353
* @param value[in] Value to write at the address location.
5454
*/
5555
#define SECURE_WRITE(address, value) \
56-
uvisor_write(main, UVISOR_RGW_SHARED, address, value, UVISOR_RGW_OP_WRITE, 0xFFFFFFFFUL)
56+
uvisor_write(public_box, UVISOR_RGW_SHARED, address, value, UVISOR_RGW_OP_WRITE, 0xFFFFFFFFUL)
5757

5858
/** Get the value at the target address.
5959
*
6060
* @param address[in] Target address
6161
* @returns The value `*address`.
6262
*/
6363
#define SECURE_READ(address) \
64-
uvisor_read(main, UVISOR_RGW_SHARED, address, UVISOR_RGW_OP_READ, 0xFFFFFFFFUL)
64+
uvisor_read(public_box, UVISOR_RGW_SHARED, address, UVISOR_RGW_OP_READ, 0xFFFFFFFFUL)
6565

6666
/** Get the selected bits at the target address.
6767
*
@@ -70,7 +70,7 @@
7070
* @returns The value `*address & mask`.
7171
*/
7272
#define SECURE_BITS_GET(address, mask) \
73-
UVISOR_BITS_GET(main, UVISOR_RGW_SHARED, address, mask)
73+
UVISOR_BITS_GET(public_box, UVISOR_RGW_SHARED, address, mask)
7474

7575
/** Check the selected bits at the target address.
7676
*
@@ -79,7 +79,7 @@
7979
* @returns The value `((*address & mask) == mask)`.
8080
*/
8181
#define SECURE_BITS_CHECK(address, mask) \
82-
UVISOR_BITS_CHECK(main, UVISOR_RGW_SHARED, address, mask)
82+
UVISOR_BITS_CHECK(public_box, UVISOR_RGW_SHARED, address, mask)
8383

8484
/** Set the selected bits to 1 at the target address.
8585
*
@@ -88,7 +88,7 @@
8888
* @param mask[in] Bits to select out of the target address
8989
*/
9090
#define SECURE_BITS_SET(address, mask) \
91-
UVISOR_BITS_SET(main, UVISOR_RGW_SHARED, address, mask)
91+
UVISOR_BITS_SET(public_box, UVISOR_RGW_SHARED, address, mask)
9292

9393
/** Clear the selected bits at the target address.
9494
*
@@ -97,7 +97,7 @@
9797
* @param mask[in] Bits to select out of the target address
9898
*/
9999
#define SECURE_BITS_CLEAR(address, mask) \
100-
UVISOR_BITS_CLEAR(main, UVISOR_RGW_SHARED, address, mask)
100+
UVISOR_BITS_CLEAR(public_box, UVISOR_RGW_SHARED, address, mask)
101101

102102
/** Set the selected bits at the target address to the given value.
103103
*
@@ -108,7 +108,7 @@
108108
* must be already shifted to the correct bit position
109109
*/
110110
#define SECURE_BITS_SET_VALUE(address, mask, value) \
111-
UVISOR_BITS_SET_VALUE(main, UVISOR_RGW_SHARED, address, mask, value)
111+
UVISOR_BITS_SET_VALUE(public_box, UVISOR_RGW_SHARED, address, mask, value)
112112

113113
/** Toggle the selected bits at the target address.
114114
*
@@ -117,7 +117,7 @@
117117
* @param mask[in] Bits to select out of the target address
118118
*/
119119
#define SECURE_BITS_TOGGLE(address, mask) \
120-
UVISOR_BITS_TOGGLE(main, UVISOR_RGW_SHARED, address, mask)
120+
UVISOR_BITS_TOGGLE(public_box, UVISOR_RGW_SHARED, address, mask)
121121

122122
#else
123123

Binary file not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
328 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
20 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
272 Bytes
Binary file not shown.
8 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-32.8 KB
Binary file not shown.
4 Bytes
Binary file not shown.
24 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
422 Bytes
Binary file not shown.
-4 Bytes
Binary file not shown.
Binary file not shown.
-14.7 KB
Binary file not shown.
16 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
164 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

TARGET_ARCH_GPRS/TOOLCHAIN_IAR/mbed.a

4.75 KB
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-26.4 KB
Binary file not shown.
0 Bytes
Binary file not shown.
8 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

TARGET_ARCH_GPRS/core_cmSecureAccess.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@
5353
* @param value[in] Value to write at the address location.
5454
*/
5555
#define SECURE_WRITE(address, value) \
56-
uvisor_write(main, UVISOR_RGW_SHARED, address, value, UVISOR_RGW_OP_WRITE, 0xFFFFFFFFUL)
56+
uvisor_write(public_box, UVISOR_RGW_SHARED, address, value, UVISOR_RGW_OP_WRITE, 0xFFFFFFFFUL)
5757

5858
/** Get the value at the target address.
5959
*
6060
* @param address[in] Target address
6161
* @returns The value `*address`.
6262
*/
6363
#define SECURE_READ(address) \
64-
uvisor_read(main, UVISOR_RGW_SHARED, address, UVISOR_RGW_OP_READ, 0xFFFFFFFFUL)
64+
uvisor_read(public_box, UVISOR_RGW_SHARED, address, UVISOR_RGW_OP_READ, 0xFFFFFFFFUL)
6565

6666
/** Get the selected bits at the target address.
6767
*
@@ -70,7 +70,7 @@
7070
* @returns The value `*address & mask`.
7171
*/
7272
#define SECURE_BITS_GET(address, mask) \
73-
UVISOR_BITS_GET(main, UVISOR_RGW_SHARED, address, mask)
73+
UVISOR_BITS_GET(public_box, UVISOR_RGW_SHARED, address, mask)
7474

7575
/** Check the selected bits at the target address.
7676
*
@@ -79,7 +79,7 @@
7979
* @returns The value `((*address & mask) == mask)`.
8080
*/
8181
#define SECURE_BITS_CHECK(address, mask) \
82-
UVISOR_BITS_CHECK(main, UVISOR_RGW_SHARED, address, mask)
82+
UVISOR_BITS_CHECK(public_box, UVISOR_RGW_SHARED, address, mask)
8383

8484
/** Set the selected bits to 1 at the target address.
8585
*
@@ -88,7 +88,7 @@
8888
* @param mask[in] Bits to select out of the target address
8989
*/
9090
#define SECURE_BITS_SET(address, mask) \
91-
UVISOR_BITS_SET(main, UVISOR_RGW_SHARED, address, mask)
91+
UVISOR_BITS_SET(public_box, UVISOR_RGW_SHARED, address, mask)
9292

9393
/** Clear the selected bits at the target address.
9494
*
@@ -97,7 +97,7 @@
9797
* @param mask[in] Bits to select out of the target address
9898
*/
9999
#define SECURE_BITS_CLEAR(address, mask) \
100-
UVISOR_BITS_CLEAR(main, UVISOR_RGW_SHARED, address, mask)
100+
UVISOR_BITS_CLEAR(public_box, UVISOR_RGW_SHARED, address, mask)
101101

102102
/** Set the selected bits at the target address to the given value.
103103
*
@@ -108,7 +108,7 @@
108108
* must be already shifted to the correct bit position
109109
*/
110110
#define SECURE_BITS_SET_VALUE(address, mask, value) \
111-
UVISOR_BITS_SET_VALUE(main, UVISOR_RGW_SHARED, address, mask, value)
111+
UVISOR_BITS_SET_VALUE(public_box, UVISOR_RGW_SHARED, address, mask, value)
112112

113113
/** Toggle the selected bits at the target address.
114114
*
@@ -117,7 +117,7 @@
117117
* @param mask[in] Bits to select out of the target address
118118
*/
119119
#define SECURE_BITS_TOGGLE(address, mask) \
120-
UVISOR_BITS_TOGGLE(main, UVISOR_RGW_SHARED, address, mask)
120+
UVISOR_BITS_TOGGLE(public_box, UVISOR_RGW_SHARED, address, mask)
121121

122122
#else
123123

TARGET_ARCH_MAX/TARGET_STM/PinNamesTypes.h

Lines changed: 102 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -36,58 +36,123 @@
3636
extern "C" {
3737
#endif
3838

39-
#define STM_PIN_DATA(MODE, PUPD, AFNUM) ((int)(((MODE & 0x0F) << 0) |\
40-
((PUPD & 0x07) << 4) |\
41-
((AFNUM & 0x0F) << 7)))
42-
43-
#define STM_PIN_DATA_EXT(MODE, PUPD, AFNUM, CHANNEL, INVERTED) ((int)(((MODE & 0x0F) << 0) |\
44-
((PUPD & 0x07) << 4) |\
45-
((AFNUM & 0x0F) << 7) |\
46-
((CHANNEL & 0x1F) << 11) |\
47-
((INVERTED & 0x01) << 16)))
48-
49-
#define STM_PIN_MODE(X) (((X) >> 0) & 0x0F)
50-
#define STM_PIN_PUPD(X) (((X) >> 4) & 0x07)
51-
#define STM_PIN_AFNUM(X) (((X) >> 7) & 0x0F)
52-
#define STM_PIN_CHANNEL(X) (((X) >> 11) & 0x1F)
53-
#define STM_PIN_INVERTED(X) (((X) >> 16) & 0x01)
54-
55-
#define STM_MODE_INPUT (0)
56-
#define STM_MODE_OUTPUT_PP (1)
57-
#define STM_MODE_OUTPUT_OD (2)
58-
#define STM_MODE_AF_PP (3)
59-
#define STM_MODE_AF_OD (4)
60-
#define STM_MODE_ANALOG (5)
61-
#define STM_MODE_IT_RISING (6)
62-
#define STM_MODE_IT_FALLING (7)
63-
#define STM_MODE_IT_RISING_FALLING (8)
64-
#define STM_MODE_EVT_RISING (9)
65-
#define STM_MODE_EVT_FALLING (10)
66-
#define STM_MODE_EVT_RISING_FALLING (11)
67-
#define STM_MODE_IT_EVT_RESET (12)
68-
// The last mode is only valid for specific families, so we put it in the end
69-
#define STM_MODE_ANALOG_ADC_CONTROL (13)
39+
/* STM PIN data as used in pin_function is coded on 32 bits as below
40+
* [2:0] Function (like in MODER reg) : Input / Output / Alt / Analog
41+
* [3] Output Push-Pull / Open Drain (as in OTYPER reg)
42+
* [5:4] as in PUPDR reg: No Pull, Pull-up, Pull-Donc
43+
* [7:6] Reserved for speed config (as in OSPEEDR), but not used yet
44+
* [11:8] Alternate Num (as in AFRL/AFRG reg)
45+
* [16:12] Channel (Analog/Timer specific)
46+
* [17] Inverted (Analog/Timer specific)
47+
* [18] Analog ADC control - Only valid for specific families
48+
* [32:19] Reserved
49+
*/
50+
51+
#define STM_PIN_FUNCTION_MASK 0x07
52+
#define STM_PIN_FUNCTION_SHIFT 0
53+
#define STM_PIN_FUNCTION_BITS (STM_PIN_FUNCTION_MASK << STM_PIN_FUNCTION_SHIFT)
54+
55+
#define STM_PIN_OD_MASK 0x01
56+
#define STM_PIN_OD_SHIFT 3
57+
#define STM_PIN_OD_BITS (STM_PIN_OD_MASK << STM_PIN_OD_SHIFT)
58+
59+
#define STM_PIN_PUPD_MASK 0x03
60+
#define STM_PIN_PUPD_SHIFT 4
61+
#define STM_PIN_PUPD_BITS (STM_PIN_PUPD_MASK << STM_PIN_PUPD_SHIFT)
62+
63+
#define STM_PIN_SPEED_MASK 0x03
64+
#define STM_PIN_SPEED_SHIFT 6
65+
#define STM_PIN_SPEED_BITS (STM_PIN_SPEED_MASK << STM_PIN_SPEED_SHIFT)
66+
67+
#define STM_PIN_AFNUM_MASK 0x0F
68+
#define STM_PIN_AFNUM_SHIFT 8
69+
#define STM_PIN_AFNUM_BITS (STM_PIN_AFNUM_MASK << STM_PIN_AFNUM_SHIFT)
70+
71+
#define STM_PIN_CHAN_MASK 0x1F
72+
#define STM_PIN_CHAN_SHIFT 12
73+
#define STM_PIN_CHANNEL_BIT (STM_PIN_CHAN_MASK << STM_PIN_CHAN_SHIFT)
74+
75+
#define STM_PIN_INV_MASK 0x01
76+
#define STM_PIN_INV_SHIFT 17
77+
#define STM_PIN_INV_BIT (STM_PIN_INV_MASK << STM_PIN_INV_SHIFT)
78+
79+
#define STM_PIN_AN_CTRL_MASK 0x01
80+
#define STM_PIN_AN_CTRL_SHIFT 18
81+
#define STM_PIN_ANALOG_CONTROL_BIT (STM_PIN_AN_CTRL_MASK << STM_PIN_AN_CTRL_SHIFT)
82+
83+
#define STM_PIN_FUNCTION(X) (((X) >> STM_PIN_FUNCTION_SHIFT) & STM_PIN_FUNCTION_MASK)
84+
#define STM_PIN_OD(X) (((X) >> STM_PIN_OD_SHIFT) & STM_PIN_OD_MASK)
85+
#define STM_PIN_PUPD(X) (((X) >> STM_PIN_PUPD_SHIFT) & STM_PIN_PUPD_MASK)
86+
#define STM_PIN_SPEED(X) (((X) >> STM_PIN_SPEED_SHIFT) & STM_PIN_SPEED_MASK)
87+
#define STM_PIN_AFNUM(X) (((X) >> STM_PIN_AFNUM_SHIFT) & STM_PIN_AFNUM_MASK)
88+
#define STM_PIN_CHANNEL(X) (((X) >> STM_PIN_CHAN_SHIFT) & STM_PIN_CHAN_MASK)
89+
#define STM_PIN_INVERTED(X) (((X) >> STM_PIN_INV_SHIFT) & STM_PIN_INV_MASK)
90+
#define STM_PIN_ANALOG_CONTROL(X) (((X) >> STM_PIN_AN_CTRL_SHIFT) & STM_PIN_AN_CTRL_MASK)
91+
92+
#define STM_PIN_DEFINE(FUNC_OD, PUPD, AFNUM) ((int)(FUNC_OD) |\
93+
((PUPD & STM_PIN_PUPD_MASK) << STM_PIN_PUPD_SHIFT) |\
94+
((AFNUM & STM_PIN_AFNUM_MASK) << STM_PIN_AFNUM_SHIFT))
95+
96+
#define STM_PIN_DEFINE_EXT(FUNC_OD, PUPD, AFNUM, CHAN, INV) \
97+
((int)(FUNC_OD) |\
98+
((PUPD & STM_PIN_PUPD_MASK) << STM_PIN_PUPD_SHIFT) |\
99+
((AFNUM & STM_PIN_AFNUM_MASK) << STM_PIN_AFNUM_SHIFT) |\
100+
((CHAN & STM_PIN_CHAN_MASK) << STM_PIN_CHAN_SHIFT) |\
101+
((INV & STM_PIN_INV_MASK) << STM_PIN_INV_SHIFT))
102+
103+
/*
104+
* MACROS to support the legacy definition of PIN formats
105+
* The STM_MODE_ defines contain the function and the Push-pull/OpenDrain
106+
* configuration (legacy inheritance).
107+
*/
108+
#define STM_PIN_DATA(FUNC_OD, PUPD, AFNUM) \
109+
STM_PIN_DEFINE(FUNC_OD, PUPD, AFNUM)
110+
#define STM_PIN_DATA_EXT(FUNC_OD, PUPD, AFNUM, CHANNEL, INVERTED) \
111+
STM_PIN_DEFINE_EXT(FUNC_OD, PUPD, AFNUM, CHANNEL, INVERTED)
112+
113+
typedef enum {
114+
STM_PIN_INPUT = 0,
115+
STM_PIN_OUTPUT = 1,
116+
STM_PIN_ALTERNATE = 2,
117+
STM_PIN_ANALOG = 3,
118+
} StmPinFunction;
119+
120+
#define STM_MODE_INPUT (STM_PIN_INPUT)
121+
#define STM_MODE_OUTPUT_PP (STM_PIN_OUTPUT)
122+
#define STM_MODE_OUTPUT_OD (STM_PIN_OUTPUT | STM_PIN_OD_BITS)
123+
#define STM_MODE_AF_PP (STM_PIN_ALTERNATE)
124+
#define STM_MODE_AF_OD (STM_PIN_ALTERNATE | STM_PIN_OD_BITS)
125+
#define STM_MODE_ANALOG (STM_PIN_ANALOG)
126+
#define STM_MODE_ANALOG_ADC_CONTROL (STM_PIN_ANALOG | STM_PIN_ANALOG_CONTROL_BIT)
70127

71128
// High nibble = port number (0=A, 1=B, 2=C, 3=D, 4=E, 5=F, 6=G, 7=H)
72129
// Low nibble = pin number
73130
#define STM_PORT(X) (((uint32_t)(X) >> 4) & 0xF)
74131
#define STM_PIN(X) ((uint32_t)(X) & 0xF)
75132

133+
/* Defines to be used by application */
76134
typedef enum {
77-
PIN_INPUT,
135+
PIN_INPUT = 0,
78136
PIN_OUTPUT
79137
} PinDirection;
80138

81139
typedef enum {
82-
PullNone = 0,
83-
PullUp = 1,
84-
PullDown = 2,
85-
OpenDrain = 3,
86-
PullDefault = PullNone
140+
PullNone = 0,
141+
PullUp = 1,
142+
PullDown = 2,
143+
OpenDrainPullUp = 3,
144+
OpenDrainNoPull = 4,
145+
OpenDrainPullDown = 5,
146+
PushPullNoPull = PullNone,
147+
PushPullPullUp = PullUp,
148+
PushPullPullDown = PullDown,
149+
OpenDrain = OpenDrainPullUp,
150+
PullDefault = PullNone
87151
} PinMode;
88152

89153
#ifdef __cplusplus
90154
}
91155
#endif
92156

93157
#endif
158+
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/* mbed Microcontroller Library
2+
* Copyright (c) 2006-2017 ARM Limited
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
#ifndef MBED_CAN_DEVICE_H
17+
#define MBED_CAN_DEVICE_H
18+
19+
#include "cmsis.h"
20+
21+
#ifdef __cplusplus
22+
extern "C" {
23+
#endif
24+
25+
#ifdef DEVICE_CAN
26+
27+
#define CAN_NUM 2 // Number of CAN peripherals present in the STM32 serie (1 or 2)
28+
29+
#define CAN1_IRQ_RX_IRQN CAN1_RX0_IRQn
30+
#define CAN1_IRQ_RX_VECT CAN1_RX0_IRQHandler
31+
#define CAN1_IRQ_TX_IRQN CAN1_TX_IRQn
32+
#define CAN1_IRQ_TX_VECT CAN1_TX_IRQHandler
33+
#define CAN1_IRQ_ERROR_IRQN CAN1_SCE_IRQn
34+
#define CAN1_IRQ_ERROR_VECT CAN1_SCE_IRQHandler
35+
#define CAN1_IRQ_PASSIVE_IRQN CAN1_SCE_IRQn
36+
#define CAN1_IRQ_PASSIVE_VECT CAN1_SCE_IRQHandler
37+
#define CAN1_IRQ_BUS_IRQN CAN1_SCE_IRQn
38+
#define CAN1_IRQ_BUS_VECT CAN1_SCE_IRQHandler
39+
40+
#define CAN2_IRQ_RX_IRQN CAN2_RX0_IRQn
41+
#define CAN2_IRQ_RX_VECT CAN2_RX0_IRQHandler
42+
#define CAN2_IRQ_TX_IRQN CAN2_TX_IRQn
43+
#define CAN2_IRQ_TX_VECT CAN2_TX_IRQHandler
44+
#define CAN2_IRQ_ERROR_IRQN CAN2_SCE_IRQn
45+
#define CAN2_IRQ_ERROR_VECT CAN2_SCE_IRQHandler
46+
#define CAN2_IRQ_PASSIVE_IRQN CAN2_SCE_IRQn
47+
#define CAN2_IRQ_PASSIVE_VECT CAN2_SCE_IRQHandler
48+
#define CAN2_IRQ_BUS_IRQN CAN2_SCE_IRQn
49+
#define CAN2_IRQ_BUS_VECT CAN2_SCE_IRQHandler
50+
51+
#endif // DEVICE_CAN
52+
53+
#endif

0 commit comments

Comments
 (0)