Choco OS
V.0.16.9.0
Join to the chocolate world
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
oc_ba_defs.h
1
28
#ifndef SYSTEM_PORTABLE_INC_TI_LM4F_LM4F120H5QR_OC_BA_DEFS_H_
29
#define SYSTEM_PORTABLE_INC_TI_LM4F_LM4F120H5QR_OC_BA_DEFS_H_
30
31
//==========================================================================================================================================
38
//==========================================================================================================================================
39
#define oC_BASE_ADDRESS_WIDTH 32
40
41
//==========================================================================================================================================
59
//==========================================================================================================================================
60
#define oC_MACHINE_BA_LIST(MAKE_BASE_ADDRESS) \
61
MAKE_BASE_ADDRESS( SystemControl , 0x400FE000UL , None , None , 0 ) \
62
MAKE_BASE_ADDRESS( PORTA , 0x40058000UL , SystemControl , RCGCGPIO , 0 ) \
63
MAKE_BASE_ADDRESS( PORTB , 0x40059000UL , SystemControl , RCGCGPIO , 1 ) \
64
MAKE_BASE_ADDRESS( PORTC , 0x4005A000UL , SystemControl , RCGCGPIO , 2 ) \
65
MAKE_BASE_ADDRESS( PORTD , 0x4005B000UL , SystemControl , RCGCGPIO , 3 ) \
66
MAKE_BASE_ADDRESS( PORTE , 0x4005C000UL , SystemControl , RCGCGPIO , 4 ) \
67
MAKE_BASE_ADDRESS( PORTF , 0x4005D000UL , SystemControl , RCGCGPIO , 5 ) \
68
MAKE_BASE_ADDRESS( uDMA0 , 0x400FF000UL , SystemControl , RCGCDMA , 0 ) \
69
MAKE_BASE_ADDRESS( Timer0 , 0x40030000UL , SystemControl , RCGCTIMER , 0 , SIZE16or32 )\
70
MAKE_BASE_ADDRESS( Timer1 , 0x40031000UL , SystemControl , RCGCTIMER , 1 , SIZE16or32 )\
71
MAKE_BASE_ADDRESS( Timer2 , 0x40032000UL , SystemControl , RCGCTIMER , 2 , SIZE16or32 )\
72
MAKE_BASE_ADDRESS( Timer3 , 0x40033000UL , SystemControl , RCGCTIMER , 3 , SIZE16or32 )\
73
MAKE_BASE_ADDRESS( Timer4 , 0x40034000UL , SystemControl , RCGCTIMER , 4 , SIZE16or32 )\
74
MAKE_BASE_ADDRESS( Timer5 , 0x40035000UL , SystemControl , RCGCTIMER , 5 , SIZE16or32 )\
75
MAKE_BASE_ADDRESS( WideTimer0 , 0x40036000UL , SystemControl , RCGCWTIMER , 0 , SIZE32or64 )\
76
MAKE_BASE_ADDRESS( WideTimer1 , 0x40037000UL , SystemControl , RCGCWTIMER , 1 , SIZE32or64 )\
77
MAKE_BASE_ADDRESS( WideTimer2 , 0x4004C000UL , SystemControl , RCGCWTIMER , 2 , SIZE32or64 )\
78
MAKE_BASE_ADDRESS( WideTimer3 , 0x4004D000UL , SystemControl , RCGCWTIMER , 3 , SIZE32or64 )\
79
MAKE_BASE_ADDRESS( WideTimer4 , 0x4004E000UL , SystemControl , RCGCWTIMER , 4 , SIZE32or64 )\
80
MAKE_BASE_ADDRESS( WideTimer5 , 0x4004F000UL , SystemControl , RCGCWTIMER , 5 , SIZE32or64 )\
81
MAKE_BASE_ADDRESS( WDT0 , 0x40000000UL , SystemControl , RCGCWD , 0 ) \
82
MAKE_BASE_ADDRESS( WDT1 , 0x40001000UL , SystemControl , RCGCWD , 1 ) \
83
MAKE_BASE_ADDRESS( ADC0 , 0x40038000UL , SystemControl , RCGCADC , 0 ) \
84
MAKE_BASE_ADDRESS( ADC1 , 0x40039000UL , SystemControl , RCGCADC , 1 ) \
85
MAKE_BASE_ADDRESS( UART0 , 0x4000C000UL , SystemControl , RCGCUART , 0 ) \
86
MAKE_BASE_ADDRESS( UART1 , 0x4000D000UL , SystemControl , RCGCUART , 1 ) \
87
MAKE_BASE_ADDRESS( UART2 , 0x4000E000UL , SystemControl , RCGCUART , 2 ) \
88
MAKE_BASE_ADDRESS( UART3 , 0x4000F000UL , SystemControl , RCGCUART , 3 ) \
89
MAKE_BASE_ADDRESS( UART4 , 0x40010000UL , SystemControl , RCGCUART , 4 ) \
90
MAKE_BASE_ADDRESS( UART5 , 0x40011000UL , SystemControl , RCGCUART , 5 ) \
91
MAKE_BASE_ADDRESS( UART6 , 0x40012000UL , SystemControl , RCGCUART , 6 ) \
92
MAKE_BASE_ADDRESS( UART7 , 0x40013000UL , SystemControl , RCGCUART , 7 ) \
93
MAKE_BASE_ADDRESS( SSI0 , 0x40008000UL , SystemControl , RCGCSSI , 0 ) \
94
MAKE_BASE_ADDRESS( SSI1 , 0x40009000UL , SystemControl , RCGCSSI , 1 ) \
95
MAKE_BASE_ADDRESS( SSI2 , 0x4000A000UL , SystemControl , RCGCSSI , 2 ) \
96
MAKE_BASE_ADDRESS( SSI3 , 0x4000B000UL , SystemControl , RCGCSSI , 3 ) \
97
MAKE_BASE_ADDRESS( I2C0 , 0x40020000UL , SystemControl , RCGCI2C , 0 ) \
98
MAKE_BASE_ADDRESS( I2C1 , 0x40021000UL , SystemControl , RCGCI2C , 1 ) \
99
MAKE_BASE_ADDRESS( I2C2 , 0x40022000UL , SystemControl , RCGCI2C , 2 ) \
100
MAKE_BASE_ADDRESS( I2C3 , 0x40023000UL , SystemControl , RCGCI2C , 3 ) \
101
MAKE_BASE_ADDRESS( CAN0 , 0x40040000UL , SystemControl , RCGCCAN , 0 ) \
102
MAKE_BASE_ADDRESS( USB0 , 0x40050000UL , SystemControl , RCGCUSB , 0 ) \
103
MAKE_BASE_ADDRESS( ACOM0 , 0x4003C000UL , SystemControl , RCGCACMP , 0 ) \
104
105
106
#endif
/* SYSTEM_PORTABLE_INC_TI_LM4F_LM4F120H5QR_OC_BA_DEFS_H_ */
Source
system
portable
inc
ti
lm4f
lm4f120h5qr
oc_ba_defs.h
Generated on Fri Oct 20 2017 19:56:09 for Choco OS by
1.8.11