How do I find Alternative Parameters in Compiler?

mikroC, mikroBasic and mikroPascal for PRO ARM® MCUs, supporting STM32, Tiva, Kinetis, & CEC devices
Post Reply
Author
Message
corado
Posts: 399
Joined: 28 Mar 2009 11:03

How do I find Alternative Parameters in Compiler?

#1 Post by corado » 02 Oct 2023 14:04

With Strg+D I can get a Paramter list vor many, BUT

GPIO_Digital_Output(@GPIOA_BASE, _GPIO_PINMASK_ALL); // Set PORTA as digital output
GPIO_Alternate_Function_Enable(@_GPIO_MODULE_SPI3_PB345);
GPIO_Alternate_Function_Enable(@_GPIO_MODULE_SWJ_JTAGDISABLE );

If I NOW go to @_Gpioxxxx and press Control+D I also get a super overview
like at the bottom, only how do I get this overview, if I have NOT already the parameter???
If I go to GPU_Alternate_Function and there Control+D, comes nothing useful as help


// _GPIO_MODULE_PARTIALREMAP_TIM1 ={(unsigned long)0x00160040}, /*!< TIM1 Partial Alternate Function mapping */
// _GPIO_MODULE_FULLREMAP_TIM1 ={(unsigned long)0x001600C0}, /*!< TIM1 Full Alternate Function mapping */
// _GPIO_MODULE_PARTIALREMAP1_TIM2 ={(unsigned long)0x00180100}, /*!< TIM2 Partial1 Alternate Function mapping */
// _GPIO_MODULE_PARTIALREMAP2_TIM2 ={(unsigned long)0x00180200}, /*!< TIM2 Partial2 Alternate Function mapping */
// _GPIO_MODULE_FULLREMAP_TIM2 ={(unsigned long)0x00180300}, /*!< TIM2 Full Alternate Function mapping */
// _GPIO_MODULE_PARTIALREMAP_TIM3 ={(unsigned long)0x001A0800}, /*!< TIM3 Partial Alternate Function mapping */
// _GPIO_MODULE_FULLREMAP_TIM3 ={(unsigned long)0x001A0C00}, /*!< TIM3 Full Alternate Function mapping */
// _GPIO_MODULE_REMAP_TIM4 ={(unsigned long)0x00001000}, /*!< TIM4 Alternate Function mapping */
// _GPIO_MODULE_REMAP1_CAN1 ={(unsigned long)0x001D4000}, /*!< CAN1 Alternate Function mapping */
// _GPIO_MODULE_REMAP2_CAN1 ={(unsigned long)0x001D6000}, /*!< CAN1 Alternate Function mapping */
// _GPIO_MODULE_REMAP_PD01 ={(unsigned long)0x00008000}, /*!< PD01 Alternate Function mapping */
// _GPIO_MODULE_REMAP_TIM5CH4_LSI ={(unsigned long)0x00200001}, /*!< LSI connected to TIM5 Channel4 input capture for calibration */
// _GPIO_MODULE_REMAP_ADC1_ETRGINJ ={(unsigned long)0x00200002}, /*!< ADC1 External Trigger Injected Conversion remapping */
// _GPIO_MODULE_REMAP_ADC1_ETRGREG ={(unsigned long)0x00200004}, /*!< ADC1 External Trigger Regular Conversion remapping */
// _GPIO_MODULE_REMAP_ADC2_ETRGINJ ={(unsigned long)0x00200008}, /*!< ADC2 External Trigger Injected Conversion remapping */
// _GPIO_MODULE_REMAP_ADC2_ETRGREG ={(unsigned long)0x00200010}, /*!< ADC2 External Trigger Regular Conversion remapping */
// _GPIO_MODULE_REMAP_ETH ={(unsigned long)0x00200020}, /*!< Ethernet remapping (only for Connectivity line devices) */
// _GPIO_MODULE_REMAP_CAN2 ={(unsigned long)0x00200040}, /*!< CAN2 remapping (only for Connectivity line devices) */
// _GPIO_MODULE_REMAP_SWJ_NOJTRST ={(unsigned long)0x00300100}, /*!< Full SWJ Enabled (JTAG-DP + SW-DP) but without JTRST */
_GPIO_MODULE_SWJ_JTAGDISABLE : Module_Struct =(
(0xFFFFFFFF),
(0xFFFFFFFF),
dword(0x00300200) or __ENABLE_REMAP); //*!< JTAG-DP Disabled and SW-DP Enabled */

_GPIO_MODULE_SWJ_JTAGENABLE : Module_Struct =(
(0xFFFFFFFF),
(0xFFFFFFFF),

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: How do I find Alternative Parameters in Compiler?

#2 Post by IvanJeremic » 06 Oct 2023 11:59

Hi,

Can you tell me for what Compiler does this happen specifically?

Regards,

Ivan.

corado
Posts: 399
Joined: 28 Mar 2009 11:03

Re: How do I find Alternative Parameters in Compiler?

#3 Post by corado » 06 Oct 2023 13:00

Vielleicht, habe ich mich undeutlich ausgedrückt.
Es handelt sich nicht um einen Fehler.
Es geht mir nur darum, wie ich alle möglichen Parameter angezeigt bekomme die vorhanden sind, da es immer noch kein fertiges manual für mikroeC for Arm gibt z.B.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: How do I find Alternative Parameters in Compiler?

#4 Post by filip » 20 Oct 2023 13:04

Hi,

Can you please write your post in English ?

Regards,
Filip.

AntiMember
Posts: 136
Joined: 02 Jan 2020 19:00

Re: How do I find Alternative Parameters in Compiler?

#5 Post by AntiMember » 23 Oct 2023 07:55

Soweit ich sehen kann, wurden PRO-Compiler schon lange aufgegeben.

corado
Posts: 399
Joined: 28 Mar 2009 11:03

Re: How do I find Alternative Parameters in Compiler?

#6 Post by corado » 23 Oct 2023 09:49

Perhaps, I have expressed myself unclearly.
It is not about an error.
I just want to know how to display all possible parameters that are available, since there is still no ready manual for mikroeC for Arm, for example.

Post Reply

Return to “ARM PRO Compilers”