| поискавой системы для электроныых деталей |
|
7721 датащи(PDF) 143 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7721 датащи(HTML) 143 Page - Renesas Technology Corp |
|
143 / 577 page ![]() TIMER A 7721 Group User’s Manual 8–24 8.4 Event counter mode 8.4.3 Switching between countup and countdown The up-down register (address 4416) or the input signal from the TAjOUT pin is used to switch countup from and to countdown. This switching is performed by the up-down bit when the up-down switching factor select bit (bit 4 at addresses 5816 to 5A16) is “0,” and by the input signal from the TAjOUT pin when the up-down switching factor select bit is “1.” When the switching between countup and countdown is set while counting is in progress, this switching is actually performed when the count source’s next valid edge is input. (1) Switching by up-down bit Countdown is performed when the up-down bit is “0,” and countup is performed when the up-down bit is “1.” Figure 8.4.5 shows the structure of the up-down register. (2) Switching by TAjOUT pin’s input signal Countdown is performed when the TAjOUT pin’s input signal is at “L” level, and countup is performed when the TAjOUT pin’s input signal is at “H” level. When using the TAjOUT pin’s input signal to switch countup from and to countdown, set the port P5 direction register’s bit which corresponds to the TAjOUT pin for the input mode. Fig. 8.4.5 Structure of up-down register Bit Bit name At reset 0 0 0 0 0 RW Functions b7 b6 b5 b4 b3 b2 b1 b0 Up-down register (Address 4416) 0 0 0 Timer A4 up-down bit Timer A3 up-down bit Timer A2 up-down bit Fix these bits to “0.” Timer A2 two-phase pulse signal processing select bit (Note) Timer A3 two-phase pulse signal processing select bit (Note) Timer A4 two-phase pulse signal processing select bit (Note) 0 : Countdown 1 : Countup This function is valid when the contents of the up-down register is selected as the up- down switching factor. 0 : Two-phase pulse signal processing function disabled 1 : Two-phase pulse signal processing function enabled When not using the two-phase pulse signal processing function, set the bit to “0.” The value is “0” at reading. Note: Use the LDM or STA instruction for writing to bits 5 to 7. 0 1 2 3 4 5 6 7 RW RW RW RW RW WO WO WO 00 |
|
ссылки 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 |