This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Application notes for NRF51822

Hello ?

I was surprised that the program was organically well organized.

Based on the given installation manual, I completed the installation and corrected the program module so that the key and LED operation are controlled according to the scenario.

But I can not explain well what I have completed. I know that it was an similar elephant that touches it with closing my eyes, but I can not draw what it looks like.

So I'm reading the details of each function in the source code.

It is also hard to copy and paste all descriptions of each file function to read and organize.

I would like to have Application note describing the function name and parameter description of each file.

Please see below for a sample.

I appreciate you in advance.

----------------------------------------------------------

In case of App_timer.h 


/**@brief Function for initializing the timer module.
*
* Normally, initialization should be done using the APP_TIMER_INIT() macro, because that macro will both
* allocate the buffers needed by the timer module (including aligning the buffers correctly)
* and take care of connecting the timer module to the scheduler (if specified).
*
* @param[in] prescaler Value of the RTC1 PRESCALER register. Set to 0 for no prescaling.
* @param[in] op_queue_size Size of the queue holding timer operations that are pending
* execution. Note that due to the queue implementation, this size must
* be one more than the size that is actually needed.
* @param[in] p_buffer Pointer to memory buffer for internal use in the app_timer
* module. The size of the buffer can be computed using the
* APP_TIMER_BUF_SIZE() macro. The buffer must be aligned to a
* 4 byte boundary.
* @param[in] evt_schedule_func Function for passing time-out events to the scheduler. Point to
* app_timer_evt_schedule() to connect to the scheduler. Set to NULL
* to make the timer module call the time-out handler directly from
* the timer interrupt handler.
*
* @retval NRF_SUCCESS If the module was initialized successfully.
* @retval NRF_ERROR_INVALID_PARAM If a parameter was invalid (buffer not aligned to a 4 byte
* boundary or NULL).
*/
uint32_t app_timer_init(uint32_t prescaler,
uint8_t op_queue_size,
void * p_buffer,
app_timer_evt_schedule_func_t evt_schedule_func);

Related