- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 26kb
- Update:
- 2017-08-22
- Downloads:
- 0 Times
- Uploaded by:
- None
Description: Use Timer_A CCR1 hardware output modes and CCR0 SCCI data latch
// to implement UART function @ 2400 baud. Software does not directly read and
// write to RX and TX pins, instead proper use of output modes and SCCI data
// latch are demonstrated. Use of these hardware features eliminates ISR
// latency effects as hardware insures that output and input bit latching and
// timing are perfectly synchronised with Timer_A regardless of other
// software activity. In the Mainloop the UART function readies the UART to
// receive one character and waits in LPM3 with all activity interrupt driven.
// After a character has been received, the UART receive function forces exit
// from LPM3 in the Mainloop which echo's back the received character.
// ACLK = TACLK = LFXT1 = 32768Hz, MCLK = SMCLK = default DCO
To Search:
File list (Check if you may need any files):
new_simulation\Debug\Exe\new_simulation.d43
new_simulation\Debug\Exe\new_simulation.txt
new_simulation\Debug\Obj\fet140_ta0_ta1_uart2400.r43
new_simulation\Debug\Obj\fet140_uart07_09600.r43
new_simulation\Debug\Obj\main.r43
new_simulation\Debug\Obj\new_simulation.pbd
new_simulation\main.c
new_simulation\new_simulation.dep
new_simulation\new_simulation.ewp
new_simulation\new_simulation.eww
new_simulation\settings\new_simulation.cspy.bat
new_simulation\settings\new_simulation.dbgdt
new_simulation\settings\new_simulation.dni
new_simulation\settings\new_simulation.wsdt
new_simulation\Debug\Exe
new_simulation\Debug\List
new_simulation\Debug\Obj
new_simulation\Debug
new_simulation\settings
new_simulation