Hitachi H8S/2646 Hardware Manual page 476

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Bits 1 and 0—Clock Enable 1 and 0 (CKE1, CKE0): These bits are used to select the SCI clock
source and enable or disable clock output from the SCK pin. The combination of the CKE1 and
CKE0 bits determines whether the SCK pin functions as an I/O port, the serial clock output pin, or
the serial clock input pin.
The setting of the CKE0 bit, however, is only valid for internal clock operation (CKE1 = 0) in
asynchronous mode. The CKE0 bit setting is invalid in clocked synchronous mode, and in the case
of external clock operation (CKE1 = 1). Note that the SCI's operating mode must be decided using
SMR before setting the CKE1 and CKE0 bits.
For details of clock source selection, see table 13-9 in section 13.3.1, Overview.
Bit 1
Bit 0
CKE1
CKE0
Description
0
0
Asynchronous mode
Clocked synchronous
mode
1
Asynchronous mode
Clocked synchronous
mode
1
0
Asynchronous mode
Clocked synchronous
mode
1
Asynchronous mode
Clocked synchronous
mode
Notes: *1 Initial value
*2 Outputs a clock of the same frequency as the bit rate.
*3 Inputs a clock with a frequency 16 times the bit rate.
444
Internal clock/SCK pin functions as I/O port
Internal clock/SCK pin functions as serial clock
*1
output
Internal clock/SCK pin functions as clock output
Internal clock/SCK pin functions as serial clock
output
External clock/SCK pin functions as clock input
External clock/SCK pin functions as serial clock
input
External clock/SCK pin functions as clock input
External clock/SCK pin functions as serial clock
input
*1
*2
*3
*3

Advertisement

Table of Contents
loading

Table of Contents