BSP430
20141115
Board Support Package for MSP430 microcontrollers
|
Platform-specific include for MSP-EXP430F5438 More...
#include <bsp430/platform.h>
Go to the source code of this file.
Platform-specific include for MSP-EXP430F5438
The following platform-specific features are supported:
vBSP430platformSpinForJumper_ni is not implemented on this platform.
BSP430_PERIPH_EXPOSED_CLOCKS Clocks are made available at dedicated labelled test points below the JTAG header.
#define BSP430_PLATFORM_EXP430F5438 1 |
Unconditionally define this, so as to produce errors if there is a conflict in definition.
#define BSP430_PLATFORM_EXP430F5438_LCD_BL_PORT_BIT BIT3 |
Port bit on BSP430_PLATFORM_EXP430F5438_LCD_BL_PORT_PERIPH_HANDLE for LCD backlight
This bit can be set to turn on the backlight. This pin corresponds to TA0.3 and can support PWM backlight control if you are not using TA0 for other purposes.
#define BSP430_PLATFORM_EXP430F5438_LCD_BL_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT8 |
BSP430 peripheral handle for port to which LCD backlight line is connected.
#define BSP430_PLATFORM_EXP430F5438_LCD_COLUMNS 138 |
Width, in pixel columns, of the HD66753 display. Though the device is documented as having 168 columns, the displayable area contains only 138 columns.
#define BSP430_PLATFORM_EXP430F5438_LCD_CSn_PORT_BIT BIT6 |
Port bit on BSP430_PLATFORM_EXP430F5438_LCD_PORT_PERIPH_HANDLE for LCD CSn
#define BSP430_PLATFORM_EXP430F5438_LCD_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT9 |
BSP430 peripheral handle for port to which LCD RSTn and CSn lines are connected.
#define BSP430_PLATFORM_EXP430F5438_LCD_ROWS 110 |
Height, in pixel rows, of the HD66753 display. Though the device can go to 132 rows, the displayable area contains only 110 rows.
#define BSP430_PLATFORM_EXP430F5438_LCD_RSTn_PORT_BIT BIT7 |
Port bit on BSP430_PLATFORM_EXP430F5438_LCD_PORT_PERIPH_HANDLE for LCD RSTn
#define BSP430_PLATFORM_EXP430F5438_LCD_SPI_PERIPH_HANDLE BSP430_PERIPH_USCI5_B2 |
Peripheral handle for SPI access to LCD
#define configBSP430_PLATFORM_EXP430F5438_LCD 0 |
Enable HPL support for on-board LCD
The EXP430F5438 has a Hitachi HD66754 4-level greyscale 138x110 pixel LCD on board, including back-light. Power is hard-wired, with backlight PWM on TA0.3 and control through pins on port 9.
Defining this constant to a true value enables the configuration of the HPL for port 9 and the SPI interface.