FreeCalypso > hg > fc-magnetite
changeset 83:cff89030b634
armio.c: drive some more unused pins as outputs
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 02 Oct 2016 07:22:08 +0000 |
parents | e3768114db59 |
children | 42d766231c46 |
files | src/cs/drivers/drv_core/armio/armio.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/drivers/drv_core/armio/armio.c Sun Oct 02 07:16:15 2016 +0000 +++ b/src/cs/drivers/drv_core/armio/armio.c Sun Oct 02 07:22:08 2016 +0000 @@ -174,6 +174,7 @@ // CLKM_IO_CNTL register configuration : // select IOs 6,8,9,10,11,12 and 13 on the pins instead of MCSI and MCUEN signals. + AI_EnableBit(0); /* FreeCalypso addition */ AI_EnableBit(2); AI_EnableBit(4); @@ -229,13 +230,18 @@ // ARMIO_CNTL_REG register configuration : // set IOs 1,2,5,7,9,14 and 15 as ouputs. + AI_ConfigBitAsOutput(0); /* FreeCalypso addition */ // CC test 0316 AI_ConfigBitAsOutput(1); // end AI_ConfigBitAsOutput(2); + AI_ConfigBitAsOutput(4); /* FreeCalypso addition */ AI_ConfigBitAsOutput(5); + AI_ConfigBitAsOutput(6); /* FreeCalypso addition */ AI_ConfigBitAsOutput(7); + AI_ConfigBitAsOutput(8); /* FreeCalypso addition */ AI_ConfigBitAsOutput(9); + AI_ConfigBitAsOutput(13); /* FreeCalypso addition */ AI_ConfigBitAsOutput(14); AI_ConfigBitAsOutput(15); #endif