| поискавой системы для электроныых деталей |
|
PIC16LC712 датащи(PDF) 44 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16LC712 датащи(HTML) 44 Page - Microchip Technology |
|
44 / 106 page ![]() PIC16C712/716 DS41106C-page 44 1999-2013 Microchip Technology Inc. 7.4 CCP1 Module and PORTB Operation When the CCP module is disabled, PORTB<3> operates as a normal I/O pin. When the CCP module is enabled, PORTB<3> operation is affected. Multiplexing details of the CCP1 module are shown on PORTB<3>, refer to Figure 3.6. Table 7-5 below shows the effects of the CCP module operation on PORTB<3> . TABLE 7-5: CCP1 MODULE AND PORTB OPERATION CCP1 Module Mode Control Bits CCP1 Module Operation PORTB<3> Operation Off CCP1CON = --xx 0000 Off PORTB<3> functions as normal I/O. Capture CCP1CON = --xx 01xx TRISCCP = ---- -1-x The CCP1 module will capture an event on the RB3/CCP1 pin which is driven by an external circuit. The DCCP bit can read the signal on the RB3/CCP1 pin. PORTB<3> always reads ‘0’ when configured as input. If PORTB<3> is configured as output, reading PORTB<3> will read the data latch. Writing to PORTB<3> will always store the result in the data latch, but it does not drive the RB3/CCP1 pin. CCP1CON = --xx 01xx TRISCCP = ---- -0-x The CCP1 module will capture an event on the RB3/CCP1 pin which is driven by the DCCP bit. The DCCP bit can read the signal on the RB3/CCP1 pin. Compare CCP1CON = --xx 10xx TRISCCP = ---- -0-x The CCP1 module produces an output on the RB3/CCP1 pin when a compare event occurs. The DCCP bit can read the signal on the RB3/CCP1 pin. PWM CCP1CON = --xx 11xx TRISCCP = ---- -0-x The CCP1 module produces the PWM signal on the RB3/CCP1 pin. The DCCP bit can read the signal on the RB3/CCP1 pin. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |