Author |
Message |
Topic: TIMER1 1sec int external 32.768 Real-Time Clock |
abbas14
Replies: 10
Views: 98820
|
Forum: Code Library Posted: Thu Jun 16, 2016 2:19 am Subject: TIMER1 1sec int external 32.768 Real-Time Clock |
Why did you disable and enable the 7th bit of T1CON only to set the 7th bit of TMR1H?
I don't understand that.
Doing so will, as per the datasheet, shift the timer clock source to instruction ... |
Topic: TIMER1 1sec int external 32.768 Real-Time Clock |
abbas14
Replies: 10
Views: 98820
|
Forum: Code Library Posted: Wed Jun 15, 2016 10:34 pm Subject: TIMER1 1sec int external 32.768 Real-Time Clock |
Why did you disable and enable the 7th bit of T1CON only to set the 7th bit of TMR1H?
I don't understand that.
Doing so will, as per the datasheet, shift the timer clock source to instruction ... |
Topic: TIMER1 1sec int external 32.768 Real-Time Clock |
abbas14
Replies: 10
Views: 98820
|
Forum: Code Library Posted: Wed Jun 15, 2016 4:34 am Subject: TIMER1 1sec int external 32.768 Real-Time Clock |
Use this as the interrupt. This uses 3 instructions that do the following.
1) Enable access to the individual bytes of the timer register
2) Add 32768 to timer1 by setting high bit or timer register ... |
Topic: difference between Streams and Buffers in RS232(UART) librar |
abbas14
Replies: 10
Views: 17893
|
Forum: General CCS C Discussion Posted: Sat Sep 05, 2015 5:23 am Subject: difference between Streams and Buffers in RS232(UART) librar |
getc() and putc() send and receive data to the software Rx and Tx buffers, or to the hardware UART buffer RX/TXREG?
may be these functions work on the software buffers when a software buffer is imp ... |
Topic: difference between Streams and Buffers in RS232(UART) librar |
abbas14
Replies: 10
Views: 17893
|
Forum: General CCS C Discussion Posted: Sat Sep 05, 2015 3:14 am Subject: difference between Streams and Buffers in RS232(UART) librar |
the ccs c manual does not covers the complete documentation on how to access buffers.
say, i need to enable both receive complete and transmit complete interrupts, and use buffers with conjunction ... |
Topic: difference between Streams and Buffers in RS232(UART) librar |
abbas14
Replies: 10
Views: 17893
|
Forum: General CCS C Discussion Posted: Sat Sep 05, 2015 1:31 am Subject: difference between Streams and Buffers in RS232(UART) librar |
what is the need of logical names?
can't we just use uart1 and uart2?
also, the ccs c manual does not covers the complete documentation on how to access buffers.
say, i need to enable both rece ... |
Topic: difference between Streams and Buffers in RS232(UART) librar |
abbas14
Replies: 10
Views: 17893
|
Forum: General CCS C Discussion Posted: Sat Sep 05, 2015 12:31 am Subject: difference between Streams and Buffers in RS232(UART) librar |
hello all.
i am new to pic, and even newer to CCS.
can anyone explain to me the difference between using Streams and Buffers with RS232(UART). i read the CCS c manual, but could not understand the ... |
|