Searched refs:usart (Results 1 – 6 of 6) sorted by relevance
/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
D | usart.c | 85 void usartOpen(struct usart* __restrict usart, UsartPort port, in usartOpen() argument 95 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit = --port]; in usartOpen() 100 usart->rx = gpioRequest(rxGpioNum); /* rx */ in usartOpen() 101 gpioConfigAlt(usart->rx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); in usartOpen() 102 usart->tx = gpioRequest(txGpioNum); /* tx */ in usartOpen() 103 gpioConfigAlt(usart->tx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); in usartOpen() 132 void usartClose(const struct usart* __restrict usart) in usartClose() argument 134 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit]; in usartClose() 140 pwrUnitClock(mUsartBusses[usart->unit], mUsartPeriphs[usart->unit], false); in usartClose() 143 gpioRelease(usart->rx); in usartClose() [all …]
|
D | platform.c | 100 static struct usart mDbgUart;
|
/device/google/contexthub/firmware/inc/ |
D | usart.h | 27 struct usart; 60 void usartOpen(struct usart* __restrict usart, UsartPort port, /* port number is 1-based!!!!! */ 65 void usartClose(const struct usart* __restrict usart); 66 void usartPutchat(const struct usart* __restrict usart, char c);
|
/device/google/contexthub/firmware/inc/platform/linux/ |
D | usart.h | 26 struct usart struct
|
/device/google/contexthub/firmware/inc/platform/stm32f4xx/ |
D | usart.h | 27 struct usart struct
|
/device/google/contexthub/firmware/misc/platform/stm32f4xx/ |
D | Makefile | 41 src/platform/$(PLATFORM)/usart.c \
|