Searched refs:init (Results 1 – 24 of 24) sorted by relevance
57 GPIO_InitTypeDef init; in gpio_config() local58 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 …]
54 USART_InitTypeDef init; in usart_init1_early() local56 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()
37 $(LOCAL_DIR)/init.c \
76 USART_InitTypeDef init; in usart_init1_early() local78 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()
53 GPIO_InitTypeDef init; in gpio_config() local54 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 …]
43 $(LOCAL_DIR)/init.c \
94 GPIO_InitTypeDef init; in gpio_config() local95 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 …]
45 $(LOCAL_DIR)/init.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 …]
35 $(LOCAL_DIR)/init.c \
17 unsigned init; in gpio_config() local27 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()
44 $(LOCAL_DIR)/init.c \
8 $(LOCAL_DIR)/init.c \
13 $(LOCAL_DIR)/init.c \
16 $(LOCAL_DIR)/init.c \
48 $(LOCAL_DIR)/init.c \
38 $(LOCAL_DIR)/init.c \
23 $(LOCAL_DIR)/init.c \
25 $(LOCAL_DIR)/init.c \
41 .init = uart_init,
168 .init = ide_init,
Completed in 38 milliseconds