* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
+
/**
* HPL register interface to USCI peripherals. The interface abstracts the
* differences between pysical devices (aka addresses) such that a user of
* the interface can equally use any USCI device, providing the device
* provides the necessary capabilities. For example, I2C is only available
* on USCI_Bx ports.
- *
+ *
* @author R. Steve McKown <rsmckown@gmail.com>
*/
-
+
#include "Msp430Usci.h"
#include "msp430hardware.h"
return READ_FLAG(UCxxIfg, UCxxRXIFG);
}
- async command void Registers.setIfgRx()
- {
- SET_FLAG(UCxxIfg, UCxxRXIFG);
- }
-
async command void Registers.clrIfgRx()
{
CLR_FLAG(UCxxIfg, UCxxRXIFG);
{
return READ_FLAG(UCxxIfg, UCxxTXIFG);
}
-
- async command void Registers.setIfgTx()
- {
- SET_FLAG(UCxxIfg, UCxxTXIFG);
- }
-
- async command void Registers.clrIfgTx()
- {
- CLR_FLAG(UCxxIfg, UCxxTXIFG);
- }
}