Skip to content

Commit

Permalink
More package descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
michalderkacz committed Apr 10, 2017
1 parent 80e53a9 commit ef036ae
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 2 deletions.
6 changes: 4 additions & 2 deletions egpath/src/nrf24/doc.go
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// Package nrf24 provides interface to use nRF24L01 and nRF24L01+ transceivers.
package nrf24
// Package nrf24 provides interface to use nRF24L01 and nRF24L01+ transceivers.
// This package follows original naming of commands and registers that can be
// found in documentation.
package nrf24
3 changes: 3 additions & 0 deletions egpath/src/stm32/hal/adc/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Package adc provides interface to STM32 Analog to Digital Converter
// peripheral. Additionaly it provides two drivers for easier use of ADC.
package adc
3 changes: 3 additions & 0 deletions egpath/src/stm32/hal/dma/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Package dma provides uniform interface to DMA peripherals that can be found
// in whole STM32 family.
package dma
3 changes: 3 additions & 0 deletions egpath/src/stm32/onedrv/uartdriver.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Package onedrv usese STM32 USART peripheral to implement basic functionality
// of 1-wire master required by onewire package.
package onedrv

import (
Expand All @@ -8,6 +10,7 @@ import (
"stm32/hal/usart"
)

// USARTDriver implements onewire.Driver interface.
type USARTDriver struct {
USART *usart.Driver
}
Expand Down
3 changes: 3 additions & 0 deletions egroot/src/bits/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Package bits implements functions for the manipulation of bits in machine
// word.
package bits
2 changes: 2 additions & 0 deletions egroot/src/bufio/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package bufio implements buffered I/O
package bufio
2 changes: 2 additions & 0 deletions egroot/src/bytes/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package bytes implements functions for the manipulation of byte slices.
package bytes
2 changes: 2 additions & 0 deletions egroot/src/delay/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package delay implements platform independent delays in code execution.
package delay
1 change: 1 addition & 0 deletions egroot/src/errors/errors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package errors implements functions to manipulate errors.
package errors

type strerr string
Expand Down

0 comments on commit ef036ae

Please sign in to comment.