KM3NeT CLB
2.0
KM3NeT CLB v2 Embedded Software
|
This file assigns all device structures to memory mapped structures. More...
#include "cfg_soc.h"
#include "lm32soc/dev_suart.h"
#include "lm32soc/dev_acou.h"
#include "lm32soc/dev_gpio.h"
#include "lm32soc/dev_i2c.h"
#include "lm32soc/dev_spi.h"
#include "lm32soc/dev_timer.h"
#include "lm32soc/dev_daterev.h"
#include "lm32soc/dev_ipm.h"
#include "lm32soc/dev_mboot.h"
#include "lm32soc/dev_tdc.h"
#include "lm32soc/dev_stmach.h"
#include "lm32soc/dev_nanob.h"
#include "lm32soc/dev_xadc.h"
#include "lm32soc/dev_watchdog.h"
Go to the source code of this file.
Macros | |
#define | SDB ((void *) SDB_BASE) |
Self Describing Bus. | |
#define | SUART1 ((SUART_Device *) SUART1_BASE) |
SUART base pointer. | |
#define | ACOU ((ACOU_Device *) ACOU_BASE) |
Acou base pointer. | |
#define | TDC ((TDC_Device *) TDC_BASE) |
TDC base pointer. | |
#define | MBOOT ((MBOOT_Device *) MBOOT_BASE) |
Multiboot base pointer. | |
#define | STMACH ((STMACH_Device *) STMACH_BASE) |
State Machine base pointer. | |
#define | GPIO ((GPIO_Device *) GPIO_BASE) |
GPIO base pointer. | |
#define | I2C ((I2C_Device *) I2C_BASE) |
Real OpenCores I2C. | |
#define | I2C1 ((I2C_Device *) I2C1_BASE) |
Virtual OpenCores I2C. | |
#define | I2C2 ((I2C_Device *) I2C2_BASE) |
Virtual OpenCores I2C. | |
#define | I2C3 ((I2C_Device *) I2C3_BASE) |
Virtual OpenCores I2C. | |
#define | TIMER ((TIMER_Device *) TIMER_BASE) |
TIMER base pointer. | |
#define | DATEREV ((unsigned int *) DATEREV_BASE) |
Date/Revision Device. | |
#define | SPI ((SPI_Device *) SPI_BASE) |
SPI memory mapped structure. | |
#define | IPMCTRL ((IPMCTRL_Device *) IPMCTRL_BASE) |
IPMux Control. | |
#define | IPMPKGEN ((IPMPKGEN_Device *) (IPMCTRL_BASE + 0x40)) |
IPMux Control. | |
#define | IPMFIFO ((IPMFIFO_Device *) IPMFIFO_BASE) |
IPMux FIFO. | |
#define | NANOB ((NANOB_Device *) NANOB_BASE) |
Nano-Beacon device. | |
#define | XADC ((XADC_Device *) XADC_BASE) |
XADC device. | |
#define | SUART2 ((SUART_Device *) SUART2_BASE) |
SUART2 base pointer. | |
#define | SUART3 ((SUART_Device *) SUART3_BASE) |
SUART3 base pointer. | |
#define | SUART4 ((SUART_Device *) SUART4_BASE) |
SUART4 base pointer. | |
#define | PTP_SUART ((SUART_Device *) PTP_VUART) |
PTP UART in WR space. | |
#define | WATCHDOG ((WATCHDOG_Device *) WATCHDOG_BASE) |
Watchdog device. | |
This file assigns all device structures to memory mapped structures.
Memory mapped devices can simply be called using pointer syntax:
Definition in file dev_soc.h.