TARGET_HP34970_FP_F303RD/cmsis_nvic.h

Sun, 01 Nov 2020 22:16:33 +0100

author
David Douard <david.douard@sdf3.org>
date
Sun, 01 Nov 2020 22:16:33 +0100
changeset 43
c850674a3101
parent 30
71be284c66b3
permissions
-rw-r--r--

Add a series of reference serial data sessions from a working 34970A unit.

These sessions do have a few glitches, however (random off by one bit,
probably due to a sampling freq a bit too low).

Comes with an adapted version of the uart_filter.py script to interpret the
communication protocol.

30
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
1 /* mbed Microcontroller Library
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
2 * SPDX-License-Identifier: BSD-3-Clause
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
3 ******************************************************************************
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
4 * @attention
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
5 *
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
6 * <h2><center>&copy; Copyright (c) 2016-2020 STMicroelectronics.
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
7 * All rights reserved.</center></h2>
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
8 *
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
9 * This software component is licensed by ST under BSD 3-Clause license,
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
10 * the "License"; You may not use this file except in compliance with the
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
11 * License. You may obtain a copy of the License at:
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
12 * opensource.org/licenses/BSD-3-Clause
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
13 *
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
14 ******************************************************************************
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
15 */
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
16
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
17 #ifndef MBED_CMSIS_NVIC_H
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
18 #define MBED_CMSIS_NVIC_H
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
19
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
20 #if !defined(MBED_ROM_START)
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
21 #define MBED_ROM_START 0x8000000
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
22 #endif
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
23
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
24 #if !defined(MBED_ROM_SIZE)
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
25 #define MBED_ROM_SIZE 0x80000 // 512 KB
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
26 #endif
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
27
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
28 #if !defined(MBED_RAM_START)
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
29 #define MBED_RAM_START 0x20000000
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
30 #endif
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
31
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
32 #if !defined(MBED_RAM_SIZE)
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
33 #define MBED_RAM_SIZE 0x10000 // 64 KB
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
34 #endif
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
35
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
36 #define NVIC_NUM_VECTORS 101
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
37 #define NVIC_RAM_VECTOR_ADDRESS MBED_RAM_START
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
38
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents:
diff changeset
39 #endif

mercurial