Documentation ¶
Overview ¶
Package usart provides interface to Universal Synchronous Asynchronous Receiver Transmitter.
Peripheral: USART_Periph Universal Synchronous Asynchronous Receiver Transmitter. Instances:
USART2 mmap.USART2_BASE USART3 mmap.USART3_BASE UART4 mmap.UART4_BASE UART5 mmap.UART5_BASE UART7 mmap.UART7_BASE UART8 mmap.UART8_BASE USART1 mmap.USART1_BASE USART6 mmap.USART6_BASE
Registers:
0x00 32 CR1 Control register 1. 0x04 32 CR2 Control register 2. 0x08 32 CR3 Control register 3. 0x0C 32 BRR Baud rate register. 0x10 32 GTPR Guard time and prescaler register. 0x14 32 RTOR Receiver Time Out register. 0x18 32 RQR Request register. 0x1C 32 ISR Interrupt and status register. 0x20 32 ICR Interrupt flag Clear register. 0x24 32 RDR Receive Data register. 0x28 32 TDR Transmit Data register.
Import:
stm32/o/f746xx/mmap
Index ¶
- Constants
- Variables
- type BRR
- type CR1
- type CR2
- type CR3
- type GTPR
- type ICR
- type ISR
- type RBRR
- func (r *RBRR) AtomicClearBits(mask BRR)
- func (r *RBRR) AtomicSetBits(mask BRR)
- func (r *RBRR) AtomicStoreBits(mask, b BRR)
- func (r *RBRR) Bits(mask BRR) BRR
- func (r *RBRR) ClearBits(mask BRR)
- func (r *RBRR) Load() BRR
- func (r *RBRR) SetBits(mask BRR)
- func (r *RBRR) Store(b BRR)
- func (r *RBRR) StoreBits(mask, b BRR)
- type RCR1
- func (r *RCR1) AtomicClearBits(mask CR1)
- func (r *RCR1) AtomicSetBits(mask CR1)
- func (r *RCR1) AtomicStoreBits(mask, b CR1)
- func (r *RCR1) Bits(mask CR1) CR1
- func (r *RCR1) ClearBits(mask CR1)
- func (r *RCR1) Load() CR1
- func (r *RCR1) SetBits(mask CR1)
- func (r *RCR1) Store(b CR1)
- func (r *RCR1) StoreBits(mask, b CR1)
- type RCR2
- func (r *RCR2) AtomicClearBits(mask CR2)
- func (r *RCR2) AtomicSetBits(mask CR2)
- func (r *RCR2) AtomicStoreBits(mask, b CR2)
- func (r *RCR2) Bits(mask CR2) CR2
- func (r *RCR2) ClearBits(mask CR2)
- func (r *RCR2) Load() CR2
- func (r *RCR2) SetBits(mask CR2)
- func (r *RCR2) Store(b CR2)
- func (r *RCR2) StoreBits(mask, b CR2)
- type RCR3
- func (r *RCR3) AtomicClearBits(mask CR3)
- func (r *RCR3) AtomicSetBits(mask CR3)
- func (r *RCR3) AtomicStoreBits(mask, b CR3)
- func (r *RCR3) Bits(mask CR3) CR3
- func (r *RCR3) ClearBits(mask CR3)
- func (r *RCR3) Load() CR3
- func (r *RCR3) SetBits(mask CR3)
- func (r *RCR3) Store(b CR3)
- func (r *RCR3) StoreBits(mask, b CR3)
- type RDR
- type RGTPR
- func (r *RGTPR) AtomicClearBits(mask GTPR)
- func (r *RGTPR) AtomicSetBits(mask GTPR)
- func (r *RGTPR) AtomicStoreBits(mask, b GTPR)
- func (r *RGTPR) Bits(mask GTPR) GTPR
- func (r *RGTPR) ClearBits(mask GTPR)
- func (r *RGTPR) Load() GTPR
- func (r *RGTPR) SetBits(mask GTPR)
- func (r *RGTPR) Store(b GTPR)
- func (r *RGTPR) StoreBits(mask, b GTPR)
- type RICR
- func (r *RICR) AtomicClearBits(mask ICR)
- func (r *RICR) AtomicSetBits(mask ICR)
- func (r *RICR) AtomicStoreBits(mask, b ICR)
- func (r *RICR) Bits(mask ICR) ICR
- func (r *RICR) ClearBits(mask ICR)
- func (r *RICR) Load() ICR
- func (r *RICR) SetBits(mask ICR)
- func (r *RICR) Store(b ICR)
- func (r *RICR) StoreBits(mask, b ICR)
- type RISR
- func (r *RISR) AtomicClearBits(mask ISR)
- func (r *RISR) AtomicSetBits(mask ISR)
- func (r *RISR) AtomicStoreBits(mask, b ISR)
- func (r *RISR) Bits(mask ISR) ISR
- func (r *RISR) ClearBits(mask ISR)
- func (r *RISR) Load() ISR
- func (r *RISR) SetBits(mask ISR)
- func (r *RISR) Store(b ISR)
- func (r *RISR) StoreBits(mask, b ISR)
- type RMBRR
- type RMCR1
- type RMCR2
- type RMCR3
- type RMGTPR
- type RMICR
- type RMISR
- type RMRDR
- type RMRQR
- type RMRTOR
- type RMTDR
- type RQR
- type RRDR
- func (r *RRDR) AtomicClearBits(mask RDR)
- func (r *RRDR) AtomicSetBits(mask RDR)
- func (r *RRDR) AtomicStoreBits(mask, b RDR)
- func (r *RRDR) Bits(mask RDR) RDR
- func (r *RRDR) ClearBits(mask RDR)
- func (r *RRDR) Load() RDR
- func (r *RRDR) SetBits(mask RDR)
- func (r *RRDR) Store(b RDR)
- func (r *RRDR) StoreBits(mask, b RDR)
- type RRQR
- func (r *RRQR) AtomicClearBits(mask RQR)
- func (r *RRQR) AtomicSetBits(mask RQR)
- func (r *RRQR) AtomicStoreBits(mask, b RQR)
- func (r *RRQR) Bits(mask RQR) RQR
- func (r *RRQR) ClearBits(mask RQR)
- func (r *RRQR) Load() RQR
- func (r *RRQR) SetBits(mask RQR)
- func (r *RRQR) Store(b RQR)
- func (r *RRQR) StoreBits(mask, b RQR)
- type RRTOR
- func (r *RRTOR) AtomicClearBits(mask RTOR)
- func (r *RRTOR) AtomicSetBits(mask RTOR)
- func (r *RRTOR) AtomicStoreBits(mask, b RTOR)
- func (r *RRTOR) Bits(mask RTOR) RTOR
- func (r *RRTOR) ClearBits(mask RTOR)
- func (r *RRTOR) Load() RTOR
- func (r *RRTOR) SetBits(mask RTOR)
- func (r *RRTOR) Store(b RTOR)
- func (r *RRTOR) StoreBits(mask, b RTOR)
- type RTDR
- func (r *RTDR) AtomicClearBits(mask TDR)
- func (r *RTDR) AtomicSetBits(mask TDR)
- func (r *RTDR) AtomicStoreBits(mask, b TDR)
- func (r *RTDR) Bits(mask TDR) TDR
- func (r *RTDR) ClearBits(mask TDR)
- func (r *RTDR) Load() TDR
- func (r *RTDR) SetBits(mask TDR)
- func (r *RTDR) Store(b TDR)
- func (r *RTDR) StoreBits(mask, b TDR)
- type RTOR
- type TDR
- type USART_Periph
- func (p *USART_Periph) ABRE() RMISR
- func (p *USART_Periph) ABREN() RMCR2
- func (p *USART_Periph) ABRF() RMISR
- func (p *USART_Periph) ABRMODE() RMCR2
- func (p *USART_Periph) ABRRQ() RMRQR
- func (p *USART_Periph) ADD() RMCR2
- func (p *USART_Periph) ADDM7() RMCR2
- func (p *USART_Periph) BLEN() RMRTOR
- func (p *USART_Periph) BUSY() RMISR
- func (p *USART_Periph) BaseAddr() uintptr
- func (p *USART_Periph) CLKEN() RMCR2
- func (p *USART_Periph) CMCF() RMICR
- func (p *USART_Periph) CMF() RMISR
- func (p *USART_Periph) CMIE() RMCR1
- func (p *USART_Periph) CPHA() RMCR2
- func (p *USART_Periph) CPOL() RMCR2
- func (p *USART_Periph) CTS() RMISR
- func (p *USART_Periph) CTSCF() RMICR
- func (p *USART_Periph) CTSE() RMCR3
- func (p *USART_Periph) CTSIE() RMCR3
- func (p *USART_Periph) CTSIF() RMISR
- func (p *USART_Periph) DATAINV() RMCR2
- func (p *USART_Periph) DDRE() RMCR3
- func (p *USART_Periph) DEAT() RMCR1
- func (p *USART_Periph) DEDT() RMCR1
- func (p *USART_Periph) DEM() RMCR3
- func (p *USART_Periph) DEP() RMCR3
- func (p *USART_Periph) DIV_FRACTION() RMBRR
- func (p *USART_Periph) DIV_MANTISSA() RMBRR
- func (p *USART_Periph) DMAR() RMCR3
- func (p *USART_Periph) DMAT() RMCR3
- func (p *USART_Periph) EIE() RMCR3
- func (p *USART_Periph) EOBCF() RMICR
- func (p *USART_Periph) EOBF() RMISR
- func (p *USART_Periph) EOBIE() RMCR1
- func (p *USART_Periph) FE() RMISR
- func (p *USART_Periph) FECF() RMICR
- func (p *USART_Periph) GT() RMGTPR
- func (p *USART_Periph) HDSEL() RMCR3
- func (p *USART_Periph) IDLE() RMISR
- func (p *USART_Periph) IDLECF() RMICR
- func (p *USART_Periph) IDLEIE() RMCR1
- func (p *USART_Periph) IREN() RMCR3
- func (p *USART_Periph) IRLP() RMCR3
- func (p *USART_Periph) LBCL() RMCR2
- func (p *USART_Periph) LBDCF() RMICR
- func (p *USART_Periph) LBDF() RMISR
- func (p *USART_Periph) LBDIE() RMCR2
- func (p *USART_Periph) LBDL() RMCR2
- func (p *USART_Periph) LINEN() RMCR2
- func (p *USART_Periph) M() RMCR1
- func (p *USART_Periph) MME() RMCR1
- func (p *USART_Periph) MMRQ() RMRQR
- func (p *USART_Periph) MSBFIRST() RMCR2
- func (p *USART_Periph) NACK() RMCR3
- func (p *USART_Periph) NCF() RMICR
- func (p *USART_Periph) NE() RMISR
- func (p *USART_Periph) ONEBIT() RMCR3
- func (p *USART_Periph) ORE() RMISR
- func (p *USART_Periph) ORECF() RMICR
- func (p *USART_Periph) OVER8() RMCR1
- func (p *USART_Periph) OVRDIS() RMCR3
- func (p *USART_Periph) PCE() RMCR1
- func (p *USART_Periph) PE() RMISR
- func (p *USART_Periph) PECF() RMICR
- func (p *USART_Periph) PEIE() RMCR1
- func (p *USART_Periph) PS() RMCR1
- func (p *USART_Periph) PSC() RMGTPR
- func (p *USART_Periph) RE() RMCR1
- func (p *USART_Periph) REACK() RMISR
- func (p *USART_Periph) RTO() RMRTOR
- func (p *USART_Periph) RTOCF() RMICR
- func (p *USART_Periph) RTOEN() RMCR2
- func (p *USART_Periph) RTOF() RMISR
- func (p *USART_Periph) RTOIE() RMCR1
- func (p *USART_Periph) RTSE() RMCR3
- func (p *USART_Periph) RWU() RMISR
- func (p *USART_Periph) RXFRQ() RMRQR
- func (p *USART_Periph) RXINV() RMCR2
- func (p *USART_Periph) RXNE() RMISR
- func (p *USART_Periph) RXNEIE() RMCR1
- func (p *USART_Periph) SBKF() RMISR
- func (p *USART_Periph) SBKRQ() RMRQR
- func (p *USART_Periph) SCARCNT() RMCR3
- func (p *USART_Periph) SCEN() RMCR3
- func (p *USART_Periph) STOP() RMCR2
- func (p *USART_Periph) SWAP() RMCR2
- func (p *USART_Periph) TC() RMISR
- func (p *USART_Periph) TCCF() RMICR
- func (p *USART_Periph) TCIE() RMCR1
- func (p *USART_Periph) TE() RMCR1
- func (p *USART_Periph) TEACK() RMISR
- func (p *USART_Periph) TXE() RMISR
- func (p *USART_Periph) TXEIE() RMCR1
- func (p *USART_Periph) TXFRQ() RMRQR
- func (p *USART_Periph) TXINV() RMCR2
- func (p *USART_Periph) UE() RMCR1
- func (p *USART_Periph) WAKE() RMCR1
- func (p *USART_Periph) WUCF() RMICR
- func (p *USART_Periph) WUF() RMISR
Constants ¶
View Source
const ( UEn = 0 REn = 2 TEn = 3 IDLEIEn = 4 RXNEIEn = 5 TCIEn = 6 TXEIEn = 7 PEIEn = 8 PSn = 9 PCEn = 10 WAKEn = 11 Mn = 12 MMEn = 13 CMIEn = 14 OVER8n = 15 DEDTn = 16 DEATn = 21 RTOIEn = 26 EOBIEn = 27 )
View Source
const ( ADDM7n = 4 LBDLn = 5 LBDIEn = 6 LBCLn = 8 CPHAn = 9 CPOLn = 10 CLKENn = 11 STOPn = 12 LINENn = 14 SWAPn = 15 RXINVn = 16 TXINVn = 17 DATAINVn = 18 MSBFIRSTn = 19 ABRENn = 20 ABRMODEn = 21 RTOENn = 23 ADDn = 24 )
View Source
const ( EIEn = 0 IRENn = 1 IRLPn = 2 HDSELn = 3 NACKn = 4 SCENn = 5 DMARn = 6 DMATn = 7 RTSEn = 8 CTSEn = 9 CTSIEn = 10 ONEBITn = 11 OVRDISn = 12 DDREn = 13 DEMn = 14 DEPn = 15 SCARCNTn = 17 )
View Source
const ( DIV_FRACTIONn = 0 DIV_MANTISSAn = 4 )
View Source
const ( PSCn = 0 GTn = 8 )
View Source
const ( RTOn = 0 BLENn = 24 )
View Source
const ( ABRRQn = 0 SBKRQn = 1 MMRQn = 2 RXFRQn = 3 TXFRQn = 4 )
View Source
const ( PEn = 0 FEn = 1 NEn = 2 OREn = 3 IDLEn = 4 RXNEn = 5 TCn = 6 TXEn = 7 LBDFn = 8 CTSIFn = 9 CTSn = 10 RTOFn = 11 EOBFn = 12 ABREn = 14 ABRFn = 15 BUSYn = 16 CMFn = 17 SBKFn = 18 RWUn = 19 WUFn = 20 TEACKn = 21 REACKn = 22 )
View Source
const ( PECFn = 0 FECFn = 1 NCFn = 2 ORECFn = 3 IDLECFn = 4 TCCFn = 6 LBDCFn = 8 CTSCFn = 9 RTOCFn = 11 EOBCFn = 12 CMCFn = 17 WUCFn = 20 )
Variables ¶
View Source
var UART4 = (*USART_Periph)(unsafe.Pointer(uintptr(mmap.UART4_BASE)))
View Source
var UART5 = (*USART_Periph)(unsafe.Pointer(uintptr(mmap.UART5_BASE)))
View Source
var UART7 = (*USART_Periph)(unsafe.Pointer(uintptr(mmap.UART7_BASE)))
View Source
var UART8 = (*USART_Periph)(unsafe.Pointer(uintptr(mmap.UART8_BASE)))
View Source
var USART1 = (*USART_Periph)(unsafe.Pointer(uintptr(mmap.USART1_BASE)))
View Source
var USART2 = (*USART_Periph)(unsafe.Pointer(uintptr(mmap.USART2_BASE)))
View Source
var USART3 = (*USART_Periph)(unsafe.Pointer(uintptr(mmap.USART3_BASE)))
View Source
var USART6 = (*USART_Periph)(unsafe.Pointer(uintptr(mmap.USART6_BASE)))
Functions ¶
This section is empty.
Types ¶
type CR1 ¶
type CR1 uint32
const ( UE CR1 = 0x01 << 0 //+ USART Enable. RE CR1 = 0x01 << 2 //+ Receiver Enable. TE CR1 = 0x01 << 3 //+ Transmitter Enable. IDLEIE CR1 = 0x01 << 4 //+ IDLE Interrupt Enable. RXNEIE CR1 = 0x01 << 5 //+ RXNE Interrupt Enable. TCIE CR1 = 0x01 << 6 //+ Transmission Complete Interrupt Enable. TXEIE CR1 = 0x01 << 7 //+ TXE Interrupt Enable. PEIE CR1 = 0x01 << 8 //+ PE Interrupt Enable. PS CR1 = 0x01 << 9 //+ Parity Selection. PCE CR1 = 0x01 << 10 //+ Parity Control Enable. WAKE CR1 = 0x01 << 11 //+ Receiver Wakeup method. M CR1 = 0x10001 << 12 //+ Word length. M_0 CR1 = 0x01 << 12 // Word length - Bit 0. MME CR1 = 0x01 << 13 //+ Mute Mode Enable. CMIE CR1 = 0x01 << 14 //+ Character match interrupt enable. OVER8 CR1 = 0x01 << 15 //+ Oversampling by 8-bit or 16-bit mode. DEDT CR1 = 0x1F << 16 //+ DEDT[4:0] bits (Driver Enable Deassertion Time). DEDT_0 CR1 = 0x01 << 16 // Bit 0. DEDT_1 CR1 = 0x02 << 16 // Bit 1. DEDT_2 CR1 = 0x04 << 16 // Bit 2. DEDT_3 CR1 = 0x08 << 16 // Bit 3. DEDT_4 CR1 = 0x10 << 16 // Bit 4. DEAT CR1 = 0x1F << 21 //+ DEAT[4:0] bits (Driver Enable Assertion Time). DEAT_0 CR1 = 0x01 << 21 // Bit 0. DEAT_1 CR1 = 0x02 << 21 // Bit 1. DEAT_2 CR1 = 0x04 << 21 // Bit 2. DEAT_3 CR1 = 0x08 << 21 // Bit 3. DEAT_4 CR1 = 0x10 << 21 // Bit 4. RTOIE CR1 = 0x01 << 26 //+ Receive Time Out interrupt enable. EOBIE CR1 = 0x01 << 27 //+ End of Block interrupt enable. M_1 CR1 = 0x10000 << 12 // Word length - Bit 1. )
type CR2 ¶
type CR2 uint32
const ( ADDM7 CR2 = 0x01 << 4 //+ 7-bit or 4-bit Address Detection. LBDL CR2 = 0x01 << 5 //+ LIN Break Detection Length. LBDIE CR2 = 0x01 << 6 //+ LIN Break Detection Interrupt Enable. LBCL CR2 = 0x01 << 8 //+ Last Bit Clock pulse. CPHA CR2 = 0x01 << 9 //+ Clock Phase. CPOL CR2 = 0x01 << 10 //+ Clock Polarity. CLKEN CR2 = 0x01 << 11 //+ Clock Enable. STOP CR2 = 0x03 << 12 //+ STOP[1:0] bits (STOP bits). STOP_0 CR2 = 0x01 << 12 // Bit 0. STOP_1 CR2 = 0x02 << 12 // Bit 1. LINEN CR2 = 0x01 << 14 //+ LIN mode enable. SWAP CR2 = 0x01 << 15 //+ SWAP TX/RX pins. RXINV CR2 = 0x01 << 16 //+ RX pin active level inversion. TXINV CR2 = 0x01 << 17 //+ TX pin active level inversion. DATAINV CR2 = 0x01 << 18 //+ Binary data inversion. MSBFIRST CR2 = 0x01 << 19 //+ Most Significant Bit First. ABREN CR2 = 0x01 << 20 //+ Auto Baud-Rate Enable. ABRMODE CR2 = 0x03 << 21 //+ ABRMOD[1:0] bits (Auto Baud-Rate Mode). ABRMODE_0 CR2 = 0x01 << 21 // Bit 0. ABRMODE_1 CR2 = 0x02 << 21 // Bit 1. RTOEN CR2 = 0x01 << 23 //+ Receiver Time-Out enable. ADD CR2 = 0xFF << 24 //+ Address of the USART node. )
type CR3 ¶
type CR3 uint32
const ( EIE CR3 = 0x01 << 0 //+ Error Interrupt Enable. IREN CR3 = 0x01 << 1 //+ IrDA mode Enable. IRLP CR3 = 0x01 << 2 //+ IrDA Low-Power. HDSEL CR3 = 0x01 << 3 //+ Half-Duplex Selection. NACK CR3 = 0x01 << 4 //+ SmartCard NACK enable. SCEN CR3 = 0x01 << 5 //+ SmartCard mode enable. DMAR CR3 = 0x01 << 6 //+ DMA Enable Receiver. DMAT CR3 = 0x01 << 7 //+ DMA Enable Transmitter. RTSE CR3 = 0x01 << 8 //+ RTS Enable. CTSE CR3 = 0x01 << 9 //+ CTS Enable. CTSIE CR3 = 0x01 << 10 //+ CTS Interrupt Enable. ONEBIT CR3 = 0x01 << 11 //+ One sample bit method enable. OVRDIS CR3 = 0x01 << 12 //+ Overrun Disable. DDRE CR3 = 0x01 << 13 //+ DMA Disable on Reception Error. DEM CR3 = 0x01 << 14 //+ Driver Enable Mode. DEP CR3 = 0x01 << 15 //+ Driver Enable Polarity Selection. SCARCNT CR3 = 0x07 << 17 //+ SCARCNT[2:0] bits (SmartCard Auto-Retry Count). SCARCNT_0 CR3 = 0x01 << 17 // Bit 0. SCARCNT_1 CR3 = 0x02 << 17 // Bit 1. SCARCNT_2 CR3 = 0x04 << 17 // Bit 2. )
type ICR ¶
type ICR uint32
const ( PECF ICR = 0x01 << 0 //+ Parity Error Clear Flag. FECF ICR = 0x01 << 1 //+ Framing Error Clear Flag. NCF ICR = 0x01 << 2 //+ Noise detected Clear Flag. ORECF ICR = 0x01 << 3 //+ OverRun Error Clear Flag. IDLECF ICR = 0x01 << 4 //+ IDLE line detected Clear Flag. TCCF ICR = 0x01 << 6 //+ Transmission Complete Clear Flag. LBDCF ICR = 0x01 << 8 //+ LIN Break Detection Clear Flag. CTSCF ICR = 0x01 << 9 //+ CTS Interrupt Clear Flag. RTOCF ICR = 0x01 << 11 //+ Receiver Time Out Clear Flag. EOBCF ICR = 0x01 << 12 //+ End Of Block Clear Flag. CMCF ICR = 0x01 << 17 //+ Character Match Clear Flag. WUCF ICR = 0x01 << 20 //+ Wake Up from stop mode Clear Flag. )
type ISR ¶
type ISR uint32
const ( PE ISR = 0x01 << 0 //+ Parity Error. FE ISR = 0x01 << 1 //+ Framing Error. NE ISR = 0x01 << 2 //+ Noise detected Flag. ORE ISR = 0x01 << 3 //+ OverRun Error. IDLE ISR = 0x01 << 4 //+ IDLE line detected. RXNE ISR = 0x01 << 5 //+ Read Data Register Not Empty. TC ISR = 0x01 << 6 //+ Transmission Complete. TXE ISR = 0x01 << 7 //+ Transmit Data Register Empty. LBDF ISR = 0x01 << 8 //+ LIN Break Detection Flag. CTSIF ISR = 0x01 << 9 //+ CTS interrupt flag. CTS ISR = 0x01 << 10 //+ CTS flag. RTOF ISR = 0x01 << 11 //+ Receiver Time Out. EOBF ISR = 0x01 << 12 //+ End Of Block Flag. ABRE ISR = 0x01 << 14 //+ Auto-Baud Rate Error. ABRF ISR = 0x01 << 15 //+ Auto-Baud Rate Flag. BUSY ISR = 0x01 << 16 //+ Busy Flag. CMF ISR = 0x01 << 17 //+ Character Match Flag. SBKF ISR = 0x01 << 18 //+ Send Break Flag. RWU ISR = 0x01 << 19 //+ Receive Wake Up from mute mode Flag. WUF ISR = 0x01 << 20 //+ Wake Up from stop mode Flag. TEACK ISR = 0x01 << 21 //+ Transmit Enable Acknowledge Flag. REACK ISR = 0x01 << 22 //+ Receive Enable Acknowledge Flag. )
type RBRR ¶
func (*RBRR) AtomicClearBits ¶
func (*RBRR) AtomicSetBits ¶
func (*RBRR) AtomicStoreBits ¶
type RCR1 ¶
func (*RCR1) AtomicClearBits ¶
func (*RCR1) AtomicSetBits ¶
func (*RCR1) AtomicStoreBits ¶
type RCR2 ¶
func (*RCR2) AtomicClearBits ¶
func (*RCR2) AtomicSetBits ¶
func (*RCR2) AtomicStoreBits ¶
type RCR3 ¶
func (*RCR3) AtomicClearBits ¶
func (*RCR3) AtomicSetBits ¶
func (*RCR3) AtomicStoreBits ¶
type RGTPR ¶
func (*RGTPR) AtomicClearBits ¶
func (*RGTPR) AtomicSetBits ¶
func (*RGTPR) AtomicStoreBits ¶
type RICR ¶
func (*RICR) AtomicClearBits ¶
func (*RICR) AtomicSetBits ¶
func (*RICR) AtomicStoreBits ¶
type RISR ¶
func (*RISR) AtomicClearBits ¶
func (*RISR) AtomicSetBits ¶
func (*RISR) AtomicStoreBits ¶
type RRDR ¶
func (*RRDR) AtomicClearBits ¶
func (*RRDR) AtomicSetBits ¶
func (*RRDR) AtomicStoreBits ¶
type RRQR ¶
func (*RRQR) AtomicClearBits ¶
func (*RRQR) AtomicSetBits ¶
func (*RRQR) AtomicStoreBits ¶
type RRTOR ¶
func (*RRTOR) AtomicClearBits ¶
func (*RRTOR) AtomicSetBits ¶
func (*RRTOR) AtomicStoreBits ¶
type RTDR ¶
func (*RTDR) AtomicClearBits ¶
func (*RTDR) AtomicSetBits ¶
func (*RTDR) AtomicStoreBits ¶
type USART_Periph ¶
type USART_Periph struct { CR1 RCR1 CR2 RCR2 CR3 RCR3 BRR RBRR GTPR RGTPR RTOR RRTOR RQR RRQR ISR RISR ICR RICR RDR RRDR TDR RTDR }
func (*USART_Periph) ABRE ¶
func (p *USART_Periph) ABRE() RMISR
func (*USART_Periph) ABREN ¶
func (p *USART_Periph) ABREN() RMCR2
func (*USART_Periph) ABRF ¶
func (p *USART_Periph) ABRF() RMISR
func (*USART_Periph) ABRMODE ¶
func (p *USART_Periph) ABRMODE() RMCR2
func (*USART_Periph) ABRRQ ¶
func (p *USART_Periph) ABRRQ() RMRQR
func (*USART_Periph) ADD ¶
func (p *USART_Periph) ADD() RMCR2
func (*USART_Periph) ADDM7 ¶
func (p *USART_Periph) ADDM7() RMCR2
func (*USART_Periph) BLEN ¶
func (p *USART_Periph) BLEN() RMRTOR
func (*USART_Periph) BUSY ¶
func (p *USART_Periph) BUSY() RMISR
func (*USART_Periph) BaseAddr ¶
func (p *USART_Periph) BaseAddr() uintptr
func (*USART_Periph) CLKEN ¶
func (p *USART_Periph) CLKEN() RMCR2
func (*USART_Periph) CMCF ¶
func (p *USART_Periph) CMCF() RMICR
func (*USART_Periph) CMF ¶
func (p *USART_Periph) CMF() RMISR
func (*USART_Periph) CMIE ¶
func (p *USART_Periph) CMIE() RMCR1
func (*USART_Periph) CPHA ¶
func (p *USART_Periph) CPHA() RMCR2
func (*USART_Periph) CPOL ¶
func (p *USART_Periph) CPOL() RMCR2
func (*USART_Periph) CTS ¶
func (p *USART_Periph) CTS() RMISR
func (*USART_Periph) CTSCF ¶
func (p *USART_Periph) CTSCF() RMICR
func (*USART_Periph) CTSE ¶
func (p *USART_Periph) CTSE() RMCR3
func (*USART_Periph) CTSIE ¶
func (p *USART_Periph) CTSIE() RMCR3
func (*USART_Periph) CTSIF ¶
func (p *USART_Periph) CTSIF() RMISR
func (*USART_Periph) DATAINV ¶
func (p *USART_Periph) DATAINV() RMCR2
func (*USART_Periph) DDRE ¶
func (p *USART_Periph) DDRE() RMCR3
func (*USART_Periph) DEAT ¶
func (p *USART_Periph) DEAT() RMCR1
func (*USART_Periph) DEDT ¶
func (p *USART_Periph) DEDT() RMCR1
func (*USART_Periph) DEM ¶
func (p *USART_Periph) DEM() RMCR3
func (*USART_Periph) DEP ¶
func (p *USART_Periph) DEP() RMCR3
func (*USART_Periph) DIV_FRACTION ¶
func (p *USART_Periph) DIV_FRACTION() RMBRR
func (*USART_Periph) DIV_MANTISSA ¶
func (p *USART_Periph) DIV_MANTISSA() RMBRR
func (*USART_Periph) DMAR ¶
func (p *USART_Periph) DMAR() RMCR3
func (*USART_Periph) DMAT ¶
func (p *USART_Periph) DMAT() RMCR3
func (*USART_Periph) EIE ¶
func (p *USART_Periph) EIE() RMCR3
func (*USART_Periph) EOBCF ¶
func (p *USART_Periph) EOBCF() RMICR
func (*USART_Periph) EOBF ¶
func (p *USART_Periph) EOBF() RMISR
func (*USART_Periph) EOBIE ¶
func (p *USART_Periph) EOBIE() RMCR1
func (*USART_Periph) FE ¶
func (p *USART_Periph) FE() RMISR
func (*USART_Periph) FECF ¶
func (p *USART_Periph) FECF() RMICR
func (*USART_Periph) GT ¶
func (p *USART_Periph) GT() RMGTPR
func (*USART_Periph) HDSEL ¶
func (p *USART_Periph) HDSEL() RMCR3
func (*USART_Periph) IDLE ¶
func (p *USART_Periph) IDLE() RMISR
func (*USART_Periph) IDLECF ¶
func (p *USART_Periph) IDLECF() RMICR
func (*USART_Periph) IDLEIE ¶
func (p *USART_Periph) IDLEIE() RMCR1
func (*USART_Periph) IREN ¶
func (p *USART_Periph) IREN() RMCR3
func (*USART_Periph) IRLP ¶
func (p *USART_Periph) IRLP() RMCR3
func (*USART_Periph) LBCL ¶
func (p *USART_Periph) LBCL() RMCR2
func (*USART_Periph) LBDCF ¶
func (p *USART_Periph) LBDCF() RMICR
func (*USART_Periph) LBDF ¶
func (p *USART_Periph) LBDF() RMISR
func (*USART_Periph) LBDIE ¶
func (p *USART_Periph) LBDIE() RMCR2
func (*USART_Periph) LBDL ¶
func (p *USART_Periph) LBDL() RMCR2
func (*USART_Periph) LINEN ¶
func (p *USART_Periph) LINEN() RMCR2
func (*USART_Periph) M ¶
func (p *USART_Periph) M() RMCR1
func (*USART_Periph) MME ¶
func (p *USART_Periph) MME() RMCR1
func (*USART_Periph) MMRQ ¶
func (p *USART_Periph) MMRQ() RMRQR
func (*USART_Periph) MSBFIRST ¶
func (p *USART_Periph) MSBFIRST() RMCR2
func (*USART_Periph) NACK ¶
func (p *USART_Periph) NACK() RMCR3
func (*USART_Periph) NCF ¶
func (p *USART_Periph) NCF() RMICR
func (*USART_Periph) NE ¶
func (p *USART_Periph) NE() RMISR
func (*USART_Periph) ONEBIT ¶
func (p *USART_Periph) ONEBIT() RMCR3
func (*USART_Periph) ORE ¶
func (p *USART_Periph) ORE() RMISR
func (*USART_Periph) ORECF ¶
func (p *USART_Periph) ORECF() RMICR
func (*USART_Periph) OVER8 ¶
func (p *USART_Periph) OVER8() RMCR1
func (*USART_Periph) OVRDIS ¶
func (p *USART_Periph) OVRDIS() RMCR3
func (*USART_Periph) PCE ¶
func (p *USART_Periph) PCE() RMCR1
func (*USART_Periph) PE ¶
func (p *USART_Periph) PE() RMISR
func (*USART_Periph) PECF ¶
func (p *USART_Periph) PECF() RMICR
func (*USART_Periph) PEIE ¶
func (p *USART_Periph) PEIE() RMCR1
func (*USART_Periph) PS ¶
func (p *USART_Periph) PS() RMCR1
func (*USART_Periph) PSC ¶
func (p *USART_Periph) PSC() RMGTPR
func (*USART_Periph) RE ¶
func (p *USART_Periph) RE() RMCR1
func (*USART_Periph) REACK ¶
func (p *USART_Periph) REACK() RMISR
func (*USART_Periph) RTO ¶
func (p *USART_Periph) RTO() RMRTOR
func (*USART_Periph) RTOCF ¶
func (p *USART_Periph) RTOCF() RMICR
func (*USART_Periph) RTOEN ¶
func (p *USART_Periph) RTOEN() RMCR2
func (*USART_Periph) RTOF ¶
func (p *USART_Periph) RTOF() RMISR
func (*USART_Periph) RTOIE ¶
func (p *USART_Periph) RTOIE() RMCR1
func (*USART_Periph) RTSE ¶
func (p *USART_Periph) RTSE() RMCR3
func (*USART_Periph) RWU ¶
func (p *USART_Periph) RWU() RMISR
func (*USART_Periph) RXFRQ ¶
func (p *USART_Periph) RXFRQ() RMRQR
func (*USART_Periph) RXINV ¶
func (p *USART_Periph) RXINV() RMCR2
func (*USART_Periph) RXNE ¶
func (p *USART_Periph) RXNE() RMISR
func (*USART_Periph) RXNEIE ¶
func (p *USART_Periph) RXNEIE() RMCR1
func (*USART_Periph) SBKF ¶
func (p *USART_Periph) SBKF() RMISR
func (*USART_Periph) SBKRQ ¶
func (p *USART_Periph) SBKRQ() RMRQR
func (*USART_Periph) SCARCNT ¶
func (p *USART_Periph) SCARCNT() RMCR3
func (*USART_Periph) SCEN ¶
func (p *USART_Periph) SCEN() RMCR3
func (*USART_Periph) STOP ¶
func (p *USART_Periph) STOP() RMCR2
func (*USART_Periph) SWAP ¶
func (p *USART_Periph) SWAP() RMCR2
func (*USART_Periph) TC ¶
func (p *USART_Periph) TC() RMISR
func (*USART_Periph) TCCF ¶
func (p *USART_Periph) TCCF() RMICR
func (*USART_Periph) TCIE ¶
func (p *USART_Periph) TCIE() RMCR1
func (*USART_Periph) TE ¶
func (p *USART_Periph) TE() RMCR1
func (*USART_Periph) TEACK ¶
func (p *USART_Periph) TEACK() RMISR
func (*USART_Periph) TXE ¶
func (p *USART_Periph) TXE() RMISR
func (*USART_Periph) TXEIE ¶
func (p *USART_Periph) TXEIE() RMCR1
func (*USART_Periph) TXFRQ ¶
func (p *USART_Periph) TXFRQ() RMRQR
func (*USART_Periph) TXINV ¶
func (p *USART_Periph) TXINV() RMCR2
func (*USART_Periph) UE ¶
func (p *USART_Periph) UE() RMCR1
func (*USART_Periph) WAKE ¶
func (p *USART_Periph) WAKE() RMCR1
func (*USART_Periph) WUCF ¶
func (p *USART_Periph) WUCF() RMICR
func (*USART_Periph) WUF ¶
func (p *USART_Periph) WUF() RMISR
Click to show internal directories.
Click to hide internal directories.