MAX32665 Peripheral Driver API
Peripheral Driver API for the MAX32665
spixfc_fifo_regs.h
1
6
/* ****************************************************************************
7
* Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved.
8
*
9
* Permission is hereby granted, free of charge, to any person obtaining a
10
* copy of this software and associated documentation files (the "Software"),
11
* to deal in the Software without restriction, including without limitation
12
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
13
* and/or sell copies of the Software, and to permit persons to whom the
14
* Software is furnished to do so, subject to the following conditions:
15
*
16
* The above copyright notice and this permission notice shall be included
17
* in all copies or substantial portions of the Software.
18
*
19
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22
* IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
23
* OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25
* OTHER DEALINGS IN THE SOFTWARE.
26
*
27
* Except as contained in this notice, the name of Maxim Integrated
28
* Products, Inc. shall not be used except as stated in the Maxim Integrated
29
* Products, Inc. Branding Policy.
30
*
31
* The mere transfer of this software does not imply any licenses
32
* of trade secrets, proprietary technology, copyrights, patents,
33
* trademarks, maskwork rights, or any other form of intellectual
34
* property whatsoever. Maxim Integrated Products, Inc. retains all
35
* ownership rights.
36
*
37
*
38
*************************************************************************** */
39
40
#ifndef _SPIXFC_FIFO_REGS_H_
41
#define _SPIXFC_FIFO_REGS_H_
42
43
/* **** Includes **** */
44
#include <stdint.h>
45
46
#ifdef __cplusplus
47
extern
"C"
{
48
#endif
49
50
#if defined (__ICCARM__)
51
#pragma system_include
52
#endif
53
54
#if defined (__CC_ARM)
55
#pragma anon_unions
56
#endif
57
/*
59
If types are not defined elsewhere (CMSIS) define them here
60
*/
61
#ifndef __IO
62
#define __IO volatile
63
#endif
64
#ifndef __I
65
#define __I volatile const
66
#endif
67
#ifndef __O
68
#define __O volatile
69
#endif
70
#ifndef __R
71
#define __R volatile const
72
#endif
73
75
/* **** Definitions **** */
76
88
typedef
struct
{
89
union
{
90
__IO uint8_t
tx_8
;
91
__IO uint16_t
tx_16
;
92
__IO uint32_t
tx_32
;
93
};
94
union
{
95
__IO uint8_t
rx_8
;
96
__IO uint16_t
rx_16
;
97
__IO uint32_t
rx_32
;
98
};
99
}
mxc_spixfc_fifo_regs_t
;
100
101
/* Register offsets for module SPIXFC_FIFO */
108
#define MXC_R_SPIXFC_FIFO_TX_8 ((uint32_t)0x00000000UL)
109
#define MXC_R_SPIXFC_FIFO_TX_16 ((uint32_t)0x00000000UL)
110
#define MXC_R_SPIXFC_FIFO_TX_32 ((uint32_t)0x00000000UL)
111
#define MXC_R_SPIXFC_FIFO_RX_8 ((uint32_t)0x00000004UL)
112
#define MXC_R_SPIXFC_FIFO_RX_16 ((uint32_t)0x00000004UL)
113
#define MXC_R_SPIXFC_FIFO_RX_32 ((uint32_t)0x00000004UL)
116
#ifdef __cplusplus
117
}
118
#endif
119
120
#endif
/* _SPIXFC_FIFO_REGS_H_ */
mxc_spixfc_fifo_regs_t
Definition:
spixfc_fifo_regs.h:88
mxc_spixfc_fifo_regs_t::tx_8
__IO uint8_t tx_8
Definition:
spixfc_fifo_regs.h:90
mxc_spixfc_fifo_regs_t::rx_16
__IO uint16_t rx_16
Definition:
spixfc_fifo_regs.h:96
mxc_spixfc_fifo_regs_t::rx_32
__IO uint32_t rx_32
Definition:
spixfc_fifo_regs.h:97
mxc_spixfc_fifo_regs_t::tx_32
__IO uint32_t tx_32
Definition:
spixfc_fifo_regs.h:92
mxc_spixfc_fifo_regs_t::rx_8
__IO uint8_t rx_8
Definition:
spixfc_fifo_regs.h:95
mxc_spixfc_fifo_regs_t::tx_16
__IO uint16_t tx_16
Definition:
spixfc_fifo_regs.h:91
CMSIS
Device
Maxim
MAX32665
Include
spixfc_fifo_regs.h
Generated on Fri Dec 4 2020 11:48:59 for MAX32665 Peripheral Driver API by
1.8.20