Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 111) sorted by relevance

12345

/lk-master/platform/stm32f7xx/
A Dgpio.c94 GPIO_InitTypeDef init; in gpio_config() local
95 init.Speed = GPIO_SPEED_HIGH; in gpio_config()
96 init.Pin = (1 << pin); in gpio_config()
97 init.Alternate = 0; in gpio_config()
100 init.Mode = GPIO_MODE_INPUT; in gpio_config()
109 init.Mode = GPIO_MODE_AF_OD; in gpio_config()
111 init.Mode = GPIO_MODE_AF_PP; in gpio_config()
113 init.Alternate = GPIO_AFNUM(flags); in gpio_config()
120 init.Pull = GPIO_PULLUP; in gpio_config()
122 init.Pull = GPIO_PULLDOWN; in gpio_config()
[all …]
/lk-master/platform/stm32f2xx/
A Dgpio.c57 GPIO_InitTypeDef init; in gpio_config() local
58 init.GPIO_Speed = GPIO_Speed_50MHz; in gpio_config()
59 init.GPIO_Pin = (1 << pin); in gpio_config()
60 init.GPIO_PuPd = GPIO_PuPd_NOPULL; in gpio_config()
63 init.GPIO_Mode = GPIO_Mode_IN; in gpio_config()
65 init.GPIO_Mode = GPIO_Mode_OUT; in gpio_config()
67 init.GPIO_Mode = GPIO_Mode_AF; in gpio_config()
72 init.GPIO_PuPd = GPIO_PuPd_UP; in gpio_config()
74 init.GPIO_PuPd = GPIO_PuPd_DOWN; in gpio_config()
78 init.GPIO_OType = GPIO_OType_OD; in gpio_config()
[all …]
A Duart.c54 USART_InitTypeDef init; in usart_init1_early() local
56 init.USART_BaudRate = 115200; in usart_init1_early()
57 init.USART_WordLength = USART_WordLength_8b; in usart_init1_early()
58 init.USART_StopBits = USART_StopBits_1; in usart_init1_early()
59 init.USART_Parity = USART_Parity_No; in usart_init1_early()
60 init.USART_Mode = USART_Mode_Tx|USART_Mode_Rx; in usart_init1_early()
61 init.USART_HardwareFlowControl = flowcontrol; in usart_init1_early()
63 USART_Init(usart, &init); in usart_init1_early()
/lk-master/platform/stm32f4xx/
A Dgpio.c57 GPIO_InitTypeDef init; in gpio_config() local
58 init.GPIO_Speed = GPIO_Speed_50MHz; in gpio_config()
59 init.GPIO_Pin = (1 << pin); in gpio_config()
60 init.GPIO_PuPd = GPIO_PuPd_NOPULL; in gpio_config()
63 init.GPIO_Mode = GPIO_Mode_IN; in gpio_config()
65 init.GPIO_Mode = GPIO_Mode_OUT; in gpio_config()
67 init.GPIO_Mode = GPIO_Mode_AF; in gpio_config()
72 init.GPIO_PuPd = GPIO_PuPd_UP; in gpio_config()
74 init.GPIO_PuPd = GPIO_PuPd_DOWN; in gpio_config()
78 init.GPIO_OType = GPIO_OType_OD; in gpio_config()
[all …]
A Duart.c76 USART_InitTypeDef init; in usart_init1_early() local
78 init.USART_BaudRate = baud; in usart_init1_early()
79 init.USART_WordLength = USART_WordLength_8b; in usart_init1_early()
80 init.USART_StopBits = USART_StopBits_1; in usart_init1_early()
81 init.USART_Parity = USART_Parity_No; in usart_init1_early()
82 init.USART_Mode = USART_Mode_Tx|USART_Mode_Rx; in usart_init1_early()
83 init.USART_HardwareFlowControl = flowcontrol; in usart_init1_early()
85 USART_Init(usart, &init); in usart_init1_early()
/lk-master/platform/stm32f1xx/
A Dgpio.c53 GPIO_InitTypeDef init; in gpio_config() local
54 init.GPIO_Speed = GPIO_Speed_50MHz; in gpio_config()
56 init.GPIO_Pin = (1 << pin); in gpio_config()
60 init.GPIO_Mode = GPIO_Mode_Out_OD; in gpio_config()
62 init.GPIO_Mode = GPIO_Mode_AF_PP; in gpio_config()
65 init.GPIO_Mode = GPIO_Mode_Out_OD; in gpio_config()
67 init.GPIO_Mode = GPIO_Mode_Out_PP; in gpio_config()
70 init.GPIO_Mode = GPIO_Mode_IPU; in gpio_config()
72 init.GPIO_Mode = GPIO_Mode_IPD; in gpio_config()
74 init.GPIO_Mode = GPIO_Mode_IN_FLOATING; in gpio_config()
[all …]
A Duart.c54 USART_InitTypeDef init; in usart_init1_early() local
56 init.USART_BaudRate = 115200; in usart_init1_early()
57 init.USART_WordLength = USART_WordLength_8b; in usart_init1_early()
58 init.USART_StopBits = USART_StopBits_1; in usart_init1_early()
59 init.USART_Parity = USART_Parity_No; in usart_init1_early()
60 init.USART_Mode = USART_Mode_Tx|USART_Mode_Rx; in usart_init1_early()
61 init.USART_HardwareFlowControl = flowcontrol; in usart_init1_early()
63 USART_Init(usart, &init); in usart_init1_early()
/lk-master/platform/stellaris/
A Dgpio.c87 GPIO_InitTypeDef init;
88 init.GPIO_Speed = GPIO_Speed_50MHz;
90 init.GPIO_Pin = (1 << pin);
94 init.GPIO_Mode = GPIO_Mode_Out_OD;
96 init.GPIO_Mode = GPIO_Mode_AF_PP;
99 init.GPIO_Mode = GPIO_Mode_Out_OD;
101 init.GPIO_Mode = GPIO_Mode_Out_PP;
104 init.GPIO_Mode = GPIO_Mode_IPU;
106 init.GPIO_Mode = GPIO_Mode_IPD;
108 init.GPIO_Mode = GPIO_Mode_IN_FLOATING;
[all …]
/lk-master/platform/nrf51xxx/
A Dgpio.c17 unsigned init; in gpio_config() local
27 init = GPIO_PIN_CNF_PULL_Pullup << GPIO_PIN_CNF_PULL_Pos; in gpio_config()
29 init = GPIO_PIN_CNF_PULL_Pulldown << GPIO_PIN_CNF_PULL_Pos; in gpio_config()
31 init = GPIO_PIN_CNF_PULL_Disabled << GPIO_PIN_CNF_PULL_Pos; in gpio_config()
35 init; in gpio_config()
/lk-master/arch/or1k/
A Dlinker.ld39 .rel.init : { *(.rel.init) }
40 .rela.init : { *(.rela.init) }
47 .init : { *(.init) }
/lk-master/arch/arm/
A Dsystem-onesegment.ld36 .rel.init : { *(.rel.init) }
37 .rela.init : { *(.rela.init) }
44 .init : { *(.init) } =0x9090
A Dsystem-twosegment.ld35 .rel.init : { *(.rel.init) }
36 .rela.init : { *(.rela.init) }
43 .init : { *(.init) } =0x9090
/lk-master/arch/arm64/
A Dsystem-onesegment.ld34 .rel.init : { *(.rel.init) }
35 .rela.init : { *(.rela.init) }
42 .init : { *(.init) } =0x9090
/lk-master/arch/microblaze/
A Dlinker.ld39 .rel.init : { *(.rel.init) }
40 .rela.init : { *(.rela.init) }
47 .init : { *(.init) }
/lk-master/arch/mips/
A Dlinker.ld32 .rel.init : { *(.rel.init) }
33 .rela.init : { *(.rela.init) }
40 .init : { *(.init) }
A Dmips.ld20 .rel.init : { *(.rel.init) }
21 .rela.init : { *(.rela.init) }
54 .init :
56 KEEP (*(.init))
/lk-master/external/lib/lwip/api/
A Dnetifapi.c52 msg->msg.add.init, in do_netifapi_netif_add()
103 netif_init_fn init, in netifapi_netif_add() argument
113 msg.msg.msg.add.init = init; in netifapi_netif_add()
/lk-master/external/lib/mincrypt/include/lib/mincrypt/
A Dhash-internal.h39 void (* const init)(struct HASH_CTX *); member
53 #define HASH_init(ctx) (ctx)->f->init(ctx)
/lk-master/external/lib/lwip/include/lwip/
A Dnetifapi.h59 netif_init_fn init; member
81 netif_init_fn init,
/lk-master/app/
A Dapp.c27 if (app->init) in apps_init()
28 app->init(app); in apps_init()
/lk-master/dev/
A Ddriver.c62 if (ops && ops->init) { in device_init()
64 status_t err = ops->init(dev); in device_init()
/lk-master/target/
A Drules.mk6 $(LOCAL_DIR)/init.c
/lk-master/target/cc13xx-em/
A Drules.mk8 $(LOCAL_DIR)/init.c
/lk-master/target/lm3s6965evb/
A Drules.mk12 $(LOCAL_DIR)/init.c
/lk-master/target/lpcexpresso1549/
A Drules.mk12 $(LOCAL_DIR)/init.c \

Completed in 26 milliseconds

12345