Variable-temperature single-crystal X-ray diffraction measurements were performed to investigate the phase transition mechanism of
1 and
2, and the effect of NH
4+/K
+-substitution. In LTP,
1 crystallizes in the monoclinic space group of
C2/
c (point group 2/
m) with a cell parameter:
a = 13.0539(3) Å,
b = 7.7268(2) Å,
c = 16.2067(4) Å,
β = 91.419(2) ° and
V = 1634.19(7) Å
3 (Table S1 in Supporting information).
1 adopts a hexagonal double perovskite structure, in which InCl
6 and (NH
4)Cl
6 octahedra adopting face-sharing mode construct 1D frameworks extending infinitely along
c axis. Detailly, each In
3+ ion is coordinated with six Cl
– ions to form InCl
6 octahedra, the In–Cl bond length ranging from 2.512 Å to 2.527 Å (Fig. S3a in Supporting information); each NH
4+ ion interacts with the surrounding six Cl
– ions by N–H···Cl hydrogen bonds and ionic bonds to form (NH
4)Cl
6 octahedra, in which NH
4+ ions site the two-fold (
C2) rotation axis parallel to crystallography
b axis, exhibiting two-fold disorder state (
Figs. 2a and
b) [
28,
41]. Thinking of NH
4+ ion as one N
+ ion, the N–Cl bond length ranges from 3.311 Å to 3.39 Å (Fig. S3b in Supporting information). The distortion index (Δ
d) and bond angle variance (
σ2) were adopted to evaluate the distortion of individual InCl
6 and (NH
4)Cl
6 octahedra (detailed calculation process can be seen in Supporting information) [
42]. As shown in Table S2 (Supporting information), the Δ
d/
σ2 for (NH
4)Cl
6 octahedra and InCl
6 octahedra in the
1 were calculated to be 9.79 × 10
–3/751.47°
2 and 2.09 × 10
–3/1.6427°
2, respectively, indicating that (NH
4)Cl
6 octahedra possess a worse distortion than that of InCl
6 octahedra. 2, 2-Difluoroethanamine organic cations whose two F atoms of –CF
2 groups exhibit a disordered state with splitting into two parts occupy spaces among the 1D [(NH
4)InCl
6]
n2n– formworks. The interactive forces between 2,2-difluoroethanamine organic cations and [NH
4InCl
6]
n2n– formworks mainly result from two aspects: N-H···Cl hydrogen bonds between –NH
3+ groups and Cl
– ions of [NH
4InCl
6]
n2n– formworks; N-H···F hydrogen bonds between two F atoms of –CF
2 groups and NH
4+ ions of 1D [(NH
4)InCl
6]
n2n– formworks (
Fig. 2c). As shown in
Fig. 2e, similar to
1, 2 also adopts a 1D hexagonal double perovskite structure, and crystallizes in the monoclinic space group of
C2/
m (point group 2/
m) with a cell parameter:
a = 13.3593(3) Å,
b = 7.5390(2) Å,
c = 15.9426(4) Å,
β = 91.246(2) ° and
V = 1605.29(7) Å
3 in LTP (Table S1). Different from
1, 1D inorganic frameworks of
2 are composed of InCl
6 and KCl
6 octahedra connected to each other in a face-sharing mode (
Fig. 2d). Similarly, the distortion of individual InCl
6 and KCl
6 octahedra in the
2 was evaluated by Δ
d and
σ2 (detailed calculation process can be seen in Supporting information). The Δ
d/
σ2 for InCl
6 and KCl
6 octahedra were 1.80 × 10
–3/0.7846°
2 and 1.869 × 10
–2/738.40°
2, respectively, suggesting InCl
6 octahedra possess more perfect octahedral configuration than that of KCl
6 octahedra. As NH
4+ ions are replaced by K
+ ions, the interactive forces between two F atoms of –CF
2 groups and inorganic formworks changes from N-H···F hydrogen bonds to C–F–K CBs (
Figs. 2f and
g). Accordingly, 2,2-difluoroethanamine organic cations become ordered due to the existence of C–F–K CBs.