Skip to content

Commit 062c1b7

Browse files
costinctinwangxiaoningnxp
authored andcommitted
Enable setting FT4232 ports as GPIO
Enable setting FT4232 ports as GPIO. Aside from port B that is used for I2C communication, port C or port D might be used as GPIOs. This is true for S32N79RDB that has TP32, TP30, TP29 and TP27 connected to Port C and D. Signed-off-by: Costin Constantin <costin.constantin@nxp.com>
1 parent 5866b5e commit 062c1b7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

port.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ int ft_open_channel(struct ftdi_info* fi, int channel)
178178

179179
int ft_close(struct ftdi_info* fi)
180180
{
181-
//ft_set_bitmode(fi, 0, 0); //resetting the controller. This will reset port C/D which is not desired.
182181
#ifdef _WIN32
183182
int num = fi->FT_close(fi->ftdi);
184183
//printf("%d\n",num);

0 commit comments

Comments
 (0)