diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-27 15:13:46 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-27 15:13:46 +0000 |
commit | 48c311bd71544f4bfbf0820024fea2f13b974089 (patch) | |
tree | d440785b62abbd14be90ae87982854694727289f /openpicc/application/cmd.c | |
parent | 6549d8861a943b7c341a03901127d84f1fa41131 (diff) |
Print relevant SSC registers
Set correct tc_cdiv for sending (FIXME: need to reset before receiving)
git-svn-id: https://svn.openpcd.org:2342/trunk@356 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/cmd.c')
-rw-r--r-- | openpicc/application/cmd.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/openpicc/application/cmd.c b/openpicc/application/cmd.c index 8c06a3d..b7169f1 100644 --- a/openpicc/application/cmd.c +++ b/openpicc/application/cmd.c @@ -263,9 +263,24 @@ void prvExecCommand(u_int32_t cmd, portCHAR *args) { DumpStringToUSB(" * TC0_CV value: "); DumpUIntToUSB(*AT91C_TC0_CV); DumpStringToUSB("\n\r"); + DumpStringToUSB(" * SSC_SR value: "); + DumpUIntToUSB(*AT91C_SSC_SR); + DumpStringToUSB("\n\r"); DumpStringToUSB(" * SSC_RCMR value: "); DumpUIntToUSB(*AT91C_SSC_RCMR); DumpStringToUSB("\n\r"); + DumpStringToUSB(" * SSC_TCMR value: "); + DumpUIntToUSB(*AT91C_SSC_TCMR); + DumpStringToUSB("\n\r"); + DumpStringToUSB(" * SSC_TFMR value: "); + DumpUIntToUSB(*AT91C_SSC_TFMR); + DumpStringToUSB("\n\r"); + DumpStringToUSB(" * SSC_TPR value: "); + DumpUIntToUSB(*AT91C_SSC_TPR); + DumpStringToUSB("\n\r"); + DumpStringToUSB(" * SSC_TCR value: "); + DumpUIntToUSB(*AT91C_SSC_TCR); + DumpStringToUSB("\n\r"); DumpStringToUSB( " *\n\r" " *****************************************************\n\r" |