![CMOSTEK NextGenRF CMT2189B Скачать руководство пользователя страница 46](http://html1.mh-extra.com/html/cmostek/nextgenrf-cmt2189b/nextgenrf-cmt2189b_user-manual_2627491046.webp)
AN201
Rev 1.5 | 46/91
www.cmostek.com
4.1.17 TRISA (Addr:0x85)
Table 57. TRISA Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
TRISA
TRISA7
TRISA6
TRISA5
TRISA4
TRISA3
TRISA2
TRISA1
TRISA0
Reset
1
1
1
1
1
1
1
1
Type
RW
RW
R
RW
RW
RW
RW
RW
Table 58. TRISA Bit Function Description
4.1.18 TRISC (Addr:0x87)
Table 59. TRISC Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
4
T0SE
Timer 0 clock source edge selection.
1 = trigger count on the falling edge of PA2/T0CKI
0 = trigger count on the rising edge of PA2/T0CKI
3
PSA
Prescaler assignment bit
1 = prescaler is assigned to WDT
0 = prescaler is assigned to Timer 0 module
2:0
PS<2:0>
Prescaler ratio selection bits
Value
Timer 0
WDT
000
1:2
1:1
001
1:4
1:2
010
1:8
1:4
011
1:16
1:8
100
1:32
1:16
101
1:64
1:32
110
1:128
1:64
111
1:256
1:128
Bit
Name
Function
7:6
TRISA<7:6>
PORTA<7:6> port direction control bits
1 = input
0 = output
5
TRISA<5>
PORTA5 port direction control bit.
Input only, fixed to 1.
4:0
TRISA<4:0>
PORTA<4:0> port direction control bits.
1 = input
0 = output