Home
last modified time | relevance | path

Searched refs:SLED_InitStruct (Results 1 – 2 of 2) sorted by relevance

/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/
A Dht32f5xxxx_sled.c77 void SLED_Init(HT_SLED_TypeDef* SLEDx, SLED_InitTypeDef* SLED_InitStruct) in SLED_Init() argument
82 SLEDx->CDR = (SLED_InitStruct->BaudRate << 8) in SLED_Init()
83 | (SLED_InitStruct->ClockPrescaler << 0); in SLED_Init()
85 SLEDx->TCR = (SLED_InitStruct->TRST << 16) in SLED_Init()
86 | (SLED_InitStruct->T1H << 8) in SLED_Init()
87 | (SLED_InitStruct->T0H << 0); in SLED_Init()
89 SLEDx->CR = (SLED_InitStruct->SyncState << 10) in SLED_Init()
90 | (SLED_InitStruct->IdleState << 9) in SLED_Init()
91 | (SLED_InitStruct->ResetState << 8) in SLED_Init()
92 | (SLED_InitStruct->SyncMode << 3) in SLED_Init()
[all …]
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/inc/
A Dht32f5xxxx_sled.h123 void SLED_Init(HT_SLED_TypeDef* SLEDx, SLED_InitTypeDef* SLED_InitStruct);

Completed in 7 milliseconds