EPD Extension Kit for MSP430 LaunchPad

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros
conf_EPD.h File Reference

The EPD configurations. More...

Go to the source code of this file.

## Macros
#define | EPD_KIT_TOOL_FUNCTIONS
#define | COG_V110
| Supported COG version. More...
#define | COG_SPI_baudrate 8000000
#define | BUFFER_SIZE 1
#define | PAYLOAD_SIZE 32
#define | EPD_KIT_TOOL_VERSION "1.00 "
#define | EPD_KIT_TOOL_ID (uint16_t)0x0101
| Kit ID for recognizing by EPD Kit Tool. More...

## Detailed Description

The EPD configurations.

Copyright (c) 2012-2013 Pervasive Displays Inc. All rights reserved.

Authors: Pervasive Displays Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

## Macro Definition Documentation

#define BUFFER_SIZE 1

Define the number of ram buffer for system packet used interchangeably

#define COG_SPI_baudrate 8000000

The SPI frequency of this kit (8MHz)

#define COG_V110

Supported COG version.

Note
  - place the value here to assign which COG driving waveform will be used.
  - now=COG_V110, future=COG_V110_G2, COG_V230, etc.

#define EPD_KIT_TOOL_FUNCTIONS

Define EPD_KIT_TOOL_FUNCTIONS if the code will work with EPD Kit Tool.

Note
  Comment out the #define below if you won't work with EPD Kit tool and just want to show two images change alternately by predefined image array.

#define EPD_KIT_TOOL_ID (uint16_t)0x0101

Kit ID for recognizing by EPD Kit Tool.

Note
  - High byte is IC vendor, low byte is the name of supported development kit
  - Texas Instruments=01, MSP430 LaunchPad=01

#define EPD_KIT_TOOL_VERSION "1.00 "

Firmware version to display on EPD Kit Tool

#define PAYLOAD_SIZE 32

System Packet length=6~64, maximum=64.

# The payload length of MSP430 LaunchPad is 32 bytes only.

Byte | Name
--- | ---
0 | Packet Header
1 | Packet Length
2-3 | Kit ID
4 | Command Type
5-62 | Data
63 | CRC