ML610Q111/ML610Q112
User’s Manual
Chapter 11 Synchronous Serial Port
FEUL610Q111
11-11
11.4 Specifying port registers
For enable the SSIO function, each related port register needs to be set up. Refer to the Chapter 16, “Port B” for details of
each register.
11.4.1 Functioning as the SSIO master mode
SSIO is selected as the secondary function of PB5, PB4, and PB3 by setting PB5MD1-PB3MD1 bit (PBMOD1 register:
bit5-3) to “0” and setting PB5MD0-PB3MD0 bit (PBMOD0 register: bit5-3) to “1”.
reg. name
PBMOD1 register (Address:0F25DH)
bit
7
6
5
4
3
2
1
0
bit name
PB7MD1
PB6MD1
PB5MD1
PB4MD1
PB3MD1
PB2MD1
PB1MD1
PB0MD1
value
*
*
0
0
0
*
*
*
reg. name
PBMOD0 register (Address:0F25CH)
bit
7
6
5
4
3
2
1
0
bit name
PB7MD0
PB6MD0
PB5MD0
PB4MD0
PB3MD0
PB2MD0
PB1MD0
PB0MD0
value
*
*
1
1
1
*
*
*
The state of the PB5 and PB4 pin is selected as CMOS output mode by setting PB5C1-PB4C1 bit (PBCON1
register:bit5-4) to “1” , setting PB5C0-PB4C0 bit (PBCON0 register:bit5-4) to “1” and setting PB5DIR-PB4DIR bit
(PBDIR register:bit5-4) to “0”. Additionally, the PB3 pin is selected as input pin by setting PB3DIR bit (PBDIR register:
bit3) to “1”
The setting value of PB3C1 bit and PB3C0 bit ($) is optional. Optional states are selected according to the state of the
external circuit where the PB3 pin is connected.
reg. name
PBCON1 register (Address:0F25BH)
bit
7
6
5
4
3
2
1
0
bit name
PB7C1
PB6C1
PB5C1
PB4C1
PB3C1
PB2C1
PB1C1
PB0C1
value
*
*
1
1
$
*
*
*
reg. name
PBCON0 register (Address:0F25AH)
bit
7
6
5
4
3
2
1
0
bit name
PB7C0
PB6C0
PB5C0
PB4C0
PB3C0
PB2C0
PB1C0
PB0C0
value
*
*
1
1
$
*
*
*
reg. name
PBDIR register (Address:0F259H)
bit
7
6
5
4
3
2
1
0
bit name
PB7DIR
PB6DIR
PB5DIR
PB4DIR
PB3DIR
PB2DIR
PB1DIR
PB0DIR
value
*
*
0
0
1
*
*
*
As for PB5D-PB3D bit (PBD register:bit5-3), neither "0" nor "1" is problematic.
reg. name
PBD register (Address:0F258H)
bit
7
6
5
4
3
2
1
0
bit name
PB7D
PB6D
PB5D
PB4D
PB3D
PB2D
PB1D
PB0D
value
*
*
**
**
**
*
*
*
* : no relation to the SSIO function **: Don’t care $: Optional
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 ...