|
SLAS191A Datasheet, PDF (71/86 Pages) Texas Instruments – Starter Kit Evaluation Kit Manual | |||
|
◁ |
5.4 Transmitting One Character
To transmit one character, copy AA55h to memory location 3DEh, or memory location 5DEh for the
MSP430X33x family. Store the character to transmit in RAM-location 020Eh.
TX:
MOV
MOV.B
#0AA55h,&03DEh ; &05DEh for MSP430X33x
#âaâ,&TX_Data ; put char to TX_Data
Call the function TX_Char to transmit the character stored at location 20Eh.
call
&0FFD2h
; call of TX_Char
The function TX_Char includes the call of TX_prep implicit which prepares the half-duplex software UART
to receive. Therefore, it is not necessary to call TX_Prep before calling TX_Char.
5â5
|
▷ |