OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [sim/] [rtl_sim/] [src-c/] [dhrystone_4mcu/] [omsp_func.c] - Diff between revs 145 and 211

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.