ML610Q111/ML610Q112 User’s Manual
Chapter 16 Port B
FEUL610Q111
16-6
16.2.3 Port B Direction Register (PBDIR)
Address: 0F259H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
6
5
4
3
2
1
0
PBDIR
PB7DIR
PB6DIR
PB5DIR
PB4DIR
PB3DIR
PB2DIR
PB1DIR
PB0DIR
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
0
0
0
PBDIR is a special function register (SFR) to select the input/output mode of Port B.
[Description of Bits]
•
PB7DIR-PB0DIR
(bits 7 to 0)
The PB7DIR to PB0DIR pins are used to set the input/output direction of the Port B pin.
PB0DIR
Description
0
PB0 pin: Output (initial value)
1
PB0 pin: Input
PB1DIR
Description
0
PB1 pin: Output (initial value)
1
PB1 pin: Input
PB2DIR
Description
0
PB2 pin: Output (initial value)
1
PB2 pin: Input
PB3DIR
Description
0
PB3 pin: Output (initial value)
1
PB3 pin: Input
PB4DIR
Description
0
PB4 pin: Output (initial value)
1
PB4 pin: Input
PB5DIR
Description
0
PB5 pin: Output (initial value)
1
PB5 pin: Input
PB6DIR
Description
0
PB6 pin: Output (initial value)
1
PB6 pin: Input
PB7DIR
Description
0
PB7 pin: Output (initial value)
1
PB7 pin: Input
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...