URL
https://opencores.org/ocsvn/openmsp430/openmsp430/trunk
Show entire file |
Details |
Blame |
View Log
Rev 145 |
Rev 211 |
Line 37... |
Line 37... |
|
|
//--------------------------------------------------//
|
//--------------------------------------------------//
|
// putChar function //
|
// putChar function //
|
// (Send a byte to the Port-1) //
|
// (Send a byte to the Port-1) //
|
//--------------------------------------------------//
|
//--------------------------------------------------//
|
int putchar (int txdata) {
|
//int putchar (int txdata) {
|
|
int tty_putc (int txdata) {
|
|
|
// Write the output character to the Port-1
|
// Write the output character to the Port-1
|
P1OUT = txdata;
|
P1OUT = txdata;
|
|
|
// Toggle Port-2[0] to signal new byte
|
// Toggle Port-2[0] to signal new byte
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.