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

Subversion Repositories gecko3

[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-fw/] [firmware/] [lib/] [ser.c] - Diff between revs 9 and 13

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 9 Rev 13
Line 80... Line 80...
  ser_rxIndexIn  = 0;
  ser_rxIndexIn  = 0;
  ser_rxIndexOut = 0;
  ser_rxIndexOut = 0;
 
 
  UART230 = 0x01; /*enable high speed baud rate generator, 115,2 kbaud*/
  UART230 = 0x01; /*enable high speed baud rate generator, 115,2 kbaud*/
 
 
  /*T2CON = 0x30; /*select timer 2 as baudrate generator*/
  /*T2CON = 0x30;*/ /*select timer 2 as baudrate generator*/
  /* Baudrate = 19200, oscillator frq. of my processor is 21.4772 MHz */
  /* Baudrate = 19200, oscillator frq. of my processor is 21.4772 MHz */
  /*RCAP2H = 0xFF;*/
  /*RCAP2H = 0xFF;*/
  /*RCAP2L = 0xDD;*/
  /*RCAP2L = 0xDD;*/
  /* enable counter */
  /* enable counter */
  /*T2CON = 0x34;*/
  /*T2CON = 0x34;*/

powered by: WebSVN 2.1.0

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