mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
cpu/nrf5x_common: improve doc on timer_conf_t::channels
This commit is contained in:
parent
51b6379dee
commit
b533fcf543
@ -187,7 +187,14 @@ typedef enum {
|
||||
*/
|
||||
typedef struct {
|
||||
NRF_TIMER_Type *dev; /**< timer device */
|
||||
uint8_t channels; /**< number of channels available */
|
||||
/**
|
||||
* @brief number of hardware channels ***minus one***
|
||||
*
|
||||
* The last hardware channels is implicitly used by timer_read() and not
|
||||
* available to the user. This value, hence, is the number of channels
|
||||
* available to the user.
|
||||
*/
|
||||
uint8_t channels;
|
||||
uint8_t bitmode; /**< counter width */
|
||||
uint8_t irqn; /**< IRQ number of the timer device */
|
||||
} timer_conf_t;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user