/lk-master/platform/stm32f7xx/ |
A D | gpio.c | 94 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 D | gpio.c | 57 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 D | uart.c | 54 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 D | gpio.c | 57 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 D | uart.c | 76 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 D | gpio.c | 53 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 D | uart.c | 54 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 D | gpio.c | 87 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 D | gpio.c | 17 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 D | linker.ld | 39 .rel.init : { *(.rel.init) } 40 .rela.init : { *(.rela.init) } 47 .init : { *(.init) }
|
/lk-master/arch/arm/ |
A D | system-onesegment.ld | 36 .rel.init : { *(.rel.init) } 37 .rela.init : { *(.rela.init) } 44 .init : { *(.init) } =0x9090
|
A D | system-twosegment.ld | 35 .rel.init : { *(.rel.init) } 36 .rela.init : { *(.rela.init) } 43 .init : { *(.init) } =0x9090
|
/lk-master/arch/arm64/ |
A D | system-onesegment.ld | 34 .rel.init : { *(.rel.init) } 35 .rela.init : { *(.rela.init) } 42 .init : { *(.init) } =0x9090
|
/lk-master/arch/microblaze/ |
A D | linker.ld | 39 .rel.init : { *(.rel.init) } 40 .rela.init : { *(.rela.init) } 47 .init : { *(.init) }
|
/lk-master/arch/mips/ |
A D | linker.ld | 32 .rel.init : { *(.rel.init) } 33 .rela.init : { *(.rela.init) } 40 .init : { *(.init) }
|
A D | mips.ld | 20 .rel.init : { *(.rel.init) } 21 .rela.init : { *(.rela.init) } 54 .init : 56 KEEP (*(.init))
|
/lk-master/external/lib/lwip/api/ |
A D | netifapi.c | 52 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 D | hash-internal.h | 39 void (* const init)(struct HASH_CTX *); member 53 #define HASH_init(ctx) (ctx)->f->init(ctx)
|
/lk-master/external/lib/lwip/include/lwip/ |
A D | netifapi.h | 59 netif_init_fn init; member 81 netif_init_fn init,
|
/lk-master/app/ |
A D | app.c | 27 if (app->init) in apps_init() 28 app->init(app); in apps_init()
|
/lk-master/dev/ |
A D | driver.c | 62 if (ops && ops->init) { in device_init() 64 status_t err = ops->init(dev); in device_init()
|
/lk-master/target/ |
A D | rules.mk | 6 $(LOCAL_DIR)/init.c
|
/lk-master/target/cc13xx-em/ |
A D | rules.mk | 8 $(LOCAL_DIR)/init.c
|
/lk-master/target/lm3s6965evb/ |
A D | rules.mk | 12 $(LOCAL_DIR)/init.c
|
/lk-master/target/lpcexpresso1549/ |
A D | rules.mk | 12 $(LOCAL_DIR)/init.c \
|