X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fplatforms%2Ftmicore%2Fchips%2Fat25df%2FAt25dfSpiConfigP.nc;h=dd7d59bf15178dce325e82a71498eb33fda8ccd7;hp=903053ba9425554bc83ca74a8741f378cb6dfa8c;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/tos/platforms/tmicore/chips/at25df/At25dfSpiConfigP.nc b/tos/platforms/tmicore/chips/at25df/At25dfSpiConfigP.nc index 903053ba..dd7d59bf 100644 --- a/tos/platforms/tmicore/chips/at25df/At25dfSpiConfigP.nc +++ b/tos/platforms/tmicore/chips/at25df/At25dfSpiConfigP.nc @@ -26,18 +26,18 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - + /** * USCI Spi test program runs the peripheral in loopback mode. - * + * * @author R. Steve McKown */ - + module At25dfSpiConfigP { provides interface AsyncConfigure 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: 1,