Interface: tos.chips.msp430.usart.HplMsp430Usart
interface HplMsp430Usart
- Author:
-
Vlado Handziski <handzisk@tkn.tu-berlin.de>
-
Philipp Huppertz <huppertz@tkn.tu-berlin.de>
Commands
command void clrIntr()
command void clrRxIntr()
command void clrTxIntr()
command void disableSpi()
command void disableUart()
command void enableSpi()
command void enableUart()
command void enableUartRx()
command void enableUartTx()
command msp430_usartmode_t getMode()
command uint16_t getUbr()
command msp430_uctl_t getUctl()
command uint8_t getUmctl()
command msp430_urctl_t getUrctl()
command msp430_utctl_t getUtctl()
command bool isRxIntrPending()
command bool isSpi()
command bool isTxEmpty()
command bool isTxIntrPending()
command bool isUart()
command bool isUartRx()
command bool isUartTx()
command uint8_t rx()
command void setModeSpi(msp430_spi_union_config_t *config)
command void setModeUart(msp430_uart_union_config_t *config)
command void setUbr(uint16_t ubr)
command void setUctl(msp430_uctl_t control)
command void setUmctl(uint8_t umctl)
command void setUrctl(msp430_urctl_t control)
command void setUtctl(msp430_utctl_t control)
command void tx(uint8_t data)
Commands - Details
clrIntr
command void clrIntr()
clrRxIntr
command void clrRxIntr()
clrTxIntr
command void clrTxIntr()
disableIntr
command void disableIntr()
disableRxIntr
command void disableRxIntr()
disableSpi
command void disableSpi()
disableTxIntr
command void disableTxIntr()
disableUart
command void disableUart()
disableUartRx
command void disableUartRx()
disableUartTx
command void disableUartTx()
enableIntr
command void enableIntr()
enableRxIntr
command void enableRxIntr()
enableSpi
command void enableSpi()
enableTxIntr
command void enableTxIntr()
enableUart
command void enableUart()
enableUartRx
command void enableUartRx()
enableUartTx
command void enableUartTx()
getMode
command msp430_usartmode_t getMode()
getUbr
command uint16_t getUbr()
getUctl
command msp430_uctl_t getUctl()
getUmctl
command uint8_t getUmctl()
getUrctl
command msp430_urctl_t getUrctl()
getUtctl
command msp430_utctl_t getUtctl()
isRxIntrPending
command bool isRxIntrPending()
isSpi
command bool isSpi()
isTxEmpty
command bool isTxEmpty()
isTxIntrPending
command bool isTxIntrPending()
isUart
command bool isUart()
isUartRx
command bool isUartRx()
isUartTx
command bool isUartTx()
resetUsart
command void resetUsart(bool reset)
rx
command uint8_t rx()
- Returns:
-
SUCCESS always.
setModeSpi
command void setModeSpi(msp430_spi_union_config_t *config)
setModeUart
command void setModeUart(msp430_uart_union_config_t *config)
setUbr
command void setUbr(uint16_t ubr)
setUctl
command void setUctl(msp430_uctl_t control)
setUmctl
command void setUmctl(uint8_t umctl)
setUrctl
command void setUrctl(msp430_urctl_t control)
setUtctl
command void setUtctl(msp430_utctl_t control)
tx
command void tx(uint8_t data)