Go to the documentation of this file. 1 #ifndef __DRIVERLIB__H_
2 #define __DRIVERLIB__H_
34 #if defined(__MCU_HAS_SYSCTL_A__)
40 #if defined(__MCU_HAS_FLCTL_A__)
46 #if defined(__MCU_HAS_LCD_F__)
51 #define HWREG8(x) (*((volatile uint8_t *)(x)))
52 #define HWREG16(x) (*((volatile uint16_t *)(x)))
53 #define HWREG32(x) (*((volatile uint32_t *)(x)))
54 #define HWREG(x) (HWREG16(x))
55 #define HWREG8_L(x) (*((volatile uint8_t *)((uint8_t *)&x)))
56 #define HWREG8_H(x) (*((volatile uint8_t *)(((uint8_t *)&x)+1)))
57 #define HWREG16_L(x) (*((volatile uint16_t *)((uint16_t *)&x)))
58 #define HWREG16_H(x) (*((volatile uint16_t *)(((uint16_t *)&x)+1)))
Copyright 2016, Texas Instruments Incorporated