BSP430
20141115
Board Support Package for MSP430 microcontrollers
|
#include <bsp430/utility/m25p.h>
Data Fields | |
hBSP430halSERIAL | spi |
volatile sBSP430hplPORT * | csn_port |
volatile sBSP430hplPORT * | rstn_port |
uint8_t | csn_bit |
uint8_t | rstn_bit |
Information required to access an M25P-based serial SPI flash device. Boards that allow control of power to the device must do so externally from this module.
uint8_t sBSP430m25p::csn_bit |
The bit identifying the csn_port peripheral port pin that controls the device CS# signal.
volatile sBSP430hplPORT* sBSP430m25p::csn_port |
The port peripheral used to control the device CS# (chip select inverted) signal. A port must be provided.
uint8_t sBSP430m25p::rstn_bit |
The bit identifying the rstn_port peripheral port pin that controls the device RESET# signal.
volatile sBSP430hplPORT* sBSP430m25p::rstn_port |
The port peripheral used to control the device RESET# (reset inverted) signal. If no port is provided, the M25P functions will not manipulate the RESET# signal.
hBSP430halSERIAL sBSP430m25p::spi |
The SPI peripheral used to access the device. A device must be assigned.