]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/tmirws/chips/scp1000/Scp1000SpiConfigC.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / platforms / tmirws / chips / scp1000 / Scp1000SpiConfigC.nc
index ffe7e7957c6bf5edb6900b35a7046855d3a5764f..91314a6e4324cef264982ee3f8b56cdec0424748 100644 (file)
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
 /**
  * SPI configuration for Scp1000.
- * 
+ *
  * @author R. Steve McKown <rsmckown@gmail.com>
  */
+
 module Scp1000SpiConfigC {
   provides interface AsyncConfigure<const msp430_usci_spi_t*> as Configure;
 }
 implementation {
-  const static msp430_usci_spi_t def = { 
+  const static msp430_usci_spi_t def = {
     ctl0: UCSYNC | UCMODE_0 | UCMST | UCMSB | UCCKPL, /* SPI mode0 master, MSB first */
     ctl1: UCSWRST | UCSSEL_3,  /* clock spi from SMCLK */
     brx: 2,                    /* part says max 500KHz; this is 524288Hz */