WARNING: This page is about a different car, the 2002 Nissan Sentra. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: TCM Input Signal Functions Description Chart
Courtesy of NISSAN MOTOR CO., U.S.A.
Fig 2: TCM Output Signal Functions Description Chart