libs
platform_specific_components
lpc11c24
libuavcan
test_olimex_lpc_p11c24
lpc_chip_11cxx_lib
inc
romapi_11xx.h
Go to the documentation of this file.
1
/*
2
* @brief LPC11xx ROM API declarations and functions
3
*
4
* @note
5
* Copyright(C) NXP Semiconductors, 2012
6
* All rights reserved.
7
*
8
* @par
9
* Software that is described herein is for illustrative purposes only
10
* which provides customers with programming information regarding the
11
* LPC products. This software is supplied "AS IS" without any warranties of
12
* any kind, and NXP Semiconductors and its licensor disclaim any and
13
* all warranties, express or implied, including all implied warranties of
14
* merchantability, fitness for a particular purpose and non-infringement of
15
* intellectual property rights. NXP Semiconductors assumes no responsibility
16
* or liability for the use of the software, conveys no license or rights under any
17
* patent, copyright, mask work right, or any other intellectual property rights in
18
* or to any products. NXP Semiconductors reserves the right to make changes
19
* in the software without notification. NXP Semiconductors also makes no
20
* representation or warranty that such application will be suitable for the
21
* specified use without further testing or modification.
22
*
23
* @par
24
* Permission to use, copy, modify, and distribute this software and its
25
* documentation is hereby granted, under NXP Semiconductors' and its
26
* licensor's relevant copyrights in the software, without fee, provided that it
27
* is used in conjunction with NXP Semiconductors microcontrollers. This
28
* copyright, permission, and disclaimer notice must appear in all copies of
29
* this code.
30
*/
31
32
#ifndef __ROMAPI_11XX_H_
33
#define __ROMAPI_11XX_H_
34
35
#include "
error.h
"
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
49
typedef
struct
{
50
const
uint32_t
usbdApiBase
;
51
const
uint32_t
reserved0
;
52
const
uint32_t
candApiBase
;
53
const
uint32_t
pwrApiBase
;
54
const
uint32_t
reserved1
;
55
const
uint32_t
reserved2
;
56
const
uint32_t
reserved3
;
57
const
uint32_t
reserved4
;
58
}
LPC_ROM_API_T
;
59
63
typedef
void (*
IAP_ENTRY_T
)(
unsigned
int
[],
unsigned
int
[]);
64
65
static
INLINE
void
iap_entry
(
unsigned
int
cmd_param[],
unsigned
int
status_result[])
66
{
67
((
IAP_ENTRY_T
)
IAP_ENTRY_LOCATION
)(cmd_param, status_result);
68
}
69
74
#ifdef __cplusplus
75
}
76
#endif
77
78
#endif
/* __ROMAPI_11XX_H_ */
LPC_ROM_API_T::reserved0
const uint32_t reserved0
Definition:
romapi_11xx.h:51
uavcan::uint32_t
std::uint32_t uint32_t
Definition:
std.hpp:26
LPC_ROM_API_T::reserved2
const uint32_t reserved2
Definition:
romapi_11xx.h:55
IAP_ENTRY_T
void(* IAP_ENTRY_T)(unsigned int[], unsigned int[])
LPC11XX IAP_ENTRY API function type.
Definition:
romapi_11xx.h:63
LPC_ROM_API_T::pwrApiBase
const uint32_t pwrApiBase
Definition:
romapi_11xx.h:53
INLINE
#define INLINE
Definition:
lpc_types.h:205
LPC_ROM_API_T::candApiBase
const uint32_t candApiBase
Definition:
romapi_11xx.h:52
LPC_ROM_API_T::reserved4
const uint32_t reserved4
Definition:
romapi_11xx.h:57
LPC_ROM_API_T::reserved1
const uint32_t reserved1
Definition:
romapi_11xx.h:54
iap_entry
static INLINE void iap_entry(unsigned int cmd_param[], unsigned int status_result[])
Definition:
romapi_11xx.h:65
error.h
LPC_ROM_API_T
LPC11XX High level ROM API structure.
Definition:
romapi_11xx.h:49
IAP_ENTRY_LOCATION
#define IAP_ENTRY_LOCATION
Definition:
chip.h:151
LPC_ROM_API_T::usbdApiBase
const uint32_t usbdApiBase
Definition:
romapi_11xx.h:50
LPC_ROM_API_T::reserved3
const uint32_t reserved3
Definition:
romapi_11xx.h:56
uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:03